Redraw UI on window resize

This commit is contained in:
veeso
2022-01-06 10:44:34 +01:00
committed by Christian Visintin
parent c1edc20462
commit edd0842273
12 changed files with 18 additions and 0 deletions
+1
View File
@@ -84,6 +84,7 @@ impl Component<Msg, NoUserEvent> for GlobalListener {
code: Key::Char('s'),
modifiers: KeyModifiers::CONTROL,
}) => Some(Msg::Ui(UiMsg::ShowSaveBookmarkPopup)),
Event::WindowResize(_, _) => Some(Msg::Ui(UiMsg::WindowResized)),
_ => None,
}
}