mirror of
https://github.com/Relintai/broken_seals_roguelike.git
synced 2024-11-21 13:17:17 +01:00
Bigger range for the camera's allowed zoom levels.
This commit is contained in:
parent
3e1abc4b2c
commit
e2fb52a3ff
@ -133,7 +133,7 @@ func _unhandled_input(event: InputEvent) -> void:
|
||||
if camera == null:
|
||||
return
|
||||
|
||||
if camera.zoom.x >= 1:
|
||||
if camera.zoom.x >= 2:
|
||||
return
|
||||
else:
|
||||
camera.zoom += Vector2(event.factor, event.factor) * 0.01
|
||||
@ -141,7 +141,7 @@ func _unhandled_input(event: InputEvent) -> void:
|
||||
if camera == null:
|
||||
return
|
||||
|
||||
if camera.zoom.x <= 0.2:
|
||||
if camera.zoom.x <= 0.1:
|
||||
return
|
||||
else:
|
||||
camera.zoom -= Vector2(event.factor, event.factor) * 0.01
|
||||
|
Loading…
Reference in New Issue
Block a user