Fix resize bug

embed
Manos Pitsidianakis 2018-08-10 12:00:27 +03:00
parent dacc4e4ba0
commit 7a6fc1ce94
Signed by: Manos Pitsidianakis
GPG Key ID: 73627C2F690DF710
1 changed files with 3 additions and 0 deletions

View File

@ -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.