updated to borderless fullscreen in order to work

This commit is contained in:
Hartmut Seichter 2022-12-14 13:21:44 +01:00
parent b033c796d8
commit 09abd228f7
2 changed files with 2 additions and 1 deletions

View file

@ -13,7 +13,7 @@ pub fn toggle_fullscreeen(
if input.pressed(KeyCode::F) /*&& input.just_pressed(KeyCode::Return) */ {
if window.mode() == WindowMode::Windowed {
window.set_mode(WindowMode::Fullscreen);
window.set_mode(WindowMode::BorderlessFullscreen);
} else {
window.set_mode(WindowMode::Windowed);
}