diff options
author | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2018-08-10 12:00:27 +0300 |
---|---|---|
committer | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2019-06-10 19:40:28 +0300 |
commit | 7a6fc1ce9454bb3483d70d72f4dc054b7d7c4d98 (patch) | |
tree | 997301e436a760bcfed4c04d41db781c5429461c /ui | |
parent | dacc4e4ba014e83ece89c0ff0d6ccadb3cb0e999 (diff) |
Fix resize bug
Diffstat (limited to 'ui')
-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. |