From 9a1f5bf5b854f43a8d7056cd0b9a23469b7da133 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sat, 30 May 2020 23:20:41 +0200 Subject: [PATCH] Remove fallback for `OS.min_window_size` now that Godot 3.2 is out (#249) The latest Pixelorama versions require Godot 3.2 to run. --- src/Main.gd | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Main.gd b/src/Main.gd index d28860a..4185996 100644 --- a/src/Main.gd +++ b/src/Main.gd @@ -12,8 +12,7 @@ var is_quitting_on_save := false func _ready() -> void: get_tree().set_auto_accept_quit(false) # Set a minimum window size to prevent UI elements from collapsing on each other. - # This property is only available in 3.2alpha or later, so use `set()` to fail gracefully if it doesn't exist. - OS.set("min_window_size", Vector2(1024, 576)) + OS.min_window_size = Vector2(1024, 576) Global.loaded_locales = TranslationServer.get_loaded_locales() # Make sure locales are always sorted, in the same order