mirror of
https://github.com/Relintai/MemR.git
synced 2024-12-27 14:17:35 +01:00
Automatic shrink calculation.
This commit is contained in:
parent
6dbfa59a2e
commit
7c4da899f7
@ -24,6 +24,8 @@ func _on_Settings_pressed() -> void:
|
|||||||
|
|
||||||
func _notification(what: int) -> void:
|
func _notification(what: int) -> void:
|
||||||
if what == NOTIFICATION_READY:
|
if what == NOTIFICATION_READY:
|
||||||
|
get_tree().set_screen_stretch(SceneTree.STRETCH_MODE_DISABLED, SceneTree.STRETCH_ASPECT_IGNORE, Vector2(900, 1000), clamp(OS.get_screen_dpi() / 72.0, 1, 3))
|
||||||
|
|
||||||
_menu = get_node("Menu")
|
_menu = get_node("Menu")
|
||||||
_settings = get_node("Settings")
|
_settings = get_node("Settings")
|
||||||
_sort = get_node("Sort")
|
_sort = get_node("Sort")
|
||||||
|
Loading…
Reference in New Issue
Block a user