Improve consistency of window::Action

This commit is contained in:
Héctor Ramón Jiménez 2023-01-31 04:04:29 +01:00
parent 8c753192f8
commit ecc5bfaeff
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
3 changed files with 15 additions and 14 deletions

View file

@ -749,7 +749,7 @@ pub fn run_command<A, E>(
y,
});
}
window::Action::SetMode(mode) => {
window::Action::ChangeMode(mode) => {
window.set_visible(conversion::visible(mode));
window.set_fullscreen(conversion::fullscreen(
window.primary_monitor(),