Рефактор. Неуместные двойные кавычки

This commit is contained in:
sasha80
2026-01-23 14:33:56 +03:00
parent 4ad5652737
commit abfb98db46

View File

@@ -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()