diff options
-rw-r--r-- | ui/src/state.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/src/state.rs b/ui/src/state.rs index be1f0f9d..d497a4b9 100644 --- a/ui/src/state.rs +++ b/ui/src/state.rs @@ -261,6 +261,9 @@ impl<W: Write> State<W> { id: 0, event_type: UIEventType::Resize, }); + + // Invalidate dirty areas. + self.context.dirty_areas.clear(); } /// Force a redraw for all dirty components. |