Skip to content

Commit

Permalink
Fixed bug with GlobalSettings
Browse files Browse the repository at this point in the history
  • Loading branch information
albinaask committed Oct 14, 2024
1 parent 3f278e5 commit a876936
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion addons/SEAL/Demo/GlobalSettings.gd
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ func on_debanding_updated():
func on_window_mode_updated():
var mode:String = window_mode_setting.get_value()
var window := get_window()
if mode == "Fullscreen":
if !window:
return
elif mode == "Fullscreen":
window.borderless = true
window.mode = Window.MODE_FULLSCREEN
Input.mouse_mode = Input.MOUSE_MODE_CONFINED
Expand Down

0 comments on commit a876936

Please sign in to comment.