Merge branch 'master' into refactoring

This commit is contained in:
Manolis Papadeas 2020-06-02 19:58:58 +03:00 committed by GitHub
commit d8136a3e17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 5 deletions

View file

@ -68,8 +68,7 @@ func _input(event : InputEvent) -> void:
func setup_application_window_size() -> void:
# 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)
# Restore the window position/size if values are present in the configuration cache
if Global.config_cache.has_section_key("window", "screen"):