diff --git a/scenes/tilemap/tilemap.gd b/scenes/tilemap/tilemap.gd index 272e059b..244f6eb8 100644 --- a/scenes/tilemap/tilemap.gd +++ b/scenes/tilemap/tilemap.gd @@ -771,19 +771,19 @@ func zoom_out() -> void: func _on_zoom_plus_button_down() -> void: - zoom_action = "in" + zoom_action = 'in' perform_zoom() zoom_timer.start(0.3) func _on_zoom_minus_button_down() -> void: - zoom_action = "out" + zoom_action = 'out' perform_zoom() zoom_timer.start(0.3) func _on_zoom_button_up() -> void: - zoom_action = "" + zoom_action = '' zoom_timer.stop() @@ -793,8 +793,8 @@ func _on_zoom_timeout(): func perform_zoom(): - if zoom_action != "": - if zoom_action == "in": + if zoom_action != '': + if zoom_action == 'in': zoom_in() else: zoom_out()