fullscreen toggle
This commit is contained in:
parent
ef497cbc5e
commit
00e0f5b1a1
@ -61,6 +61,11 @@ indent_size = 4
|
||||
indent_style = tab
|
||||
indent_size = 4
|
||||
|
||||
# GameMaker
|
||||
[*.gml]
|
||||
indent_style = tab
|
||||
indent_size = 4
|
||||
|
||||
## for this repo
|
||||
[~/SSH/config]
|
||||
indent_style = tab
|
||||
|
8
~/GameMaker/fullscreen_toggle.gml
Normal file
8
~/GameMaker/fullscreen_toggle.gml
Normal file
@ -0,0 +1,8 @@
|
||||
/// @description Fullscreen toggle
|
||||
|
||||
if window_get_fullscreen() {
|
||||
window_set_fullscreen(false);
|
||||
}
|
||||
else {
|
||||
window_set_fullscreen(true);
|
||||
}
|
Loading…
Reference in New Issue
Block a user