Skip to content

Commit

Permalink
Increase repaint delay in geph5-client-gui from 100ms to 1000ms
Browse files Browse the repository at this point in the history
  • Loading branch information
nullchinchilla committed Apr 18, 2024
1 parent 965b7ca commit 302f623
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion binaries/geph5-client-gui/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ impl App {

impl eframe::App for App {
fn update(&mut self, ctx: &egui::Context, _frame: &mut eframe::Frame) {
ctx.request_repaint_after(Duration::from_millis(100));
ctx.request_repaint_after(Duration::from_millis(1000));

egui::TopBottomPanel::top("top").show(ctx, |ui| {
ui.horizontal(|ui| {
Expand Down

0 comments on commit 302f623

Please sign in to comment.