updated to borderless fullscreen in order to work
This commit is contained in:
parent
b033c796d8
commit
09abd228f7
2 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue