Skip to content

Commit 1756b9f

Browse files
committed
Repaint after view action
1 parent 303f293 commit 1756b9f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

objdiff-gui/src/app.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,10 @@ impl App {
484484
}
485485

486486
fn post_update(&mut self, ctx: &egui::Context, action: Option<DiffViewAction>) {
487+
if action.is_some() {
488+
ctx.request_repaint();
489+
}
490+
487491
self.appearance.post_update(ctx);
488492

489493
let ViewState { jobs, diff_state, config_state, graphics_state, .. } = &mut self.view_state;

0 commit comments

Comments
 (0)