Skip to content

Commit 4a1861e

Browse files
committed
Trigger a redraw when the window is shown
1 parent e70d785 commit 4a1861e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

frontend/desktop/src/ui/window.rs

+3
Original file line numberDiff line numberDiff line change
@@ -772,6 +772,9 @@ impl Builder {
772772
..
773773
} => {
774774
window.is_occluded = is_occluded;
775+
if !is_occluded {
776+
window.window.request_redraw();
777+
}
775778
}
776779

777780
Event::WindowEvent {

0 commit comments

Comments
 (0)