mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 07:24:43 -04:00
Changed default and min window sizes
The new default window size is 1280x720, and the new minimum window size is 1024x576.
This commit is contained in:
parent
3ca1d00b98
commit
4bfe199cf0
4 changed files with 54 additions and 49 deletions
|
@ -15,7 +15,7 @@ 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(1152, 648))
|
||||
OS.set("min_window_size", Vector2(1024, 576))
|
||||
|
||||
# `TranslationServer.get_loaded_locales()` was added in 3.2beta and in 3.1.2
|
||||
# The `has_method()` check and the `else` branch can be removed once 3.2 is released.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue