mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 17:19:50 +00:00
Update camera when the viewport size changes
This commit is contained in:
parent
971fb67db1
commit
8c0a194468
|
@ -43,6 +43,7 @@ var should_tween := true
|
|||
|
||||
|
||||
func _ready() -> void:
|
||||
viewport.size_changed.connect(_update_viewport_transform)
|
||||
Global.project_switched.connect(_project_switched)
|
||||
if not DisplayServer.is_touchscreen_available():
|
||||
set_process_input(false)
|
||||
|
|
Loading…
Reference in a new issue