mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-03-12 22:35:18 +00:00
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.
This commit is contained in:
parent
02045ec60c
commit
9a1f5bf5b8
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue