1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-31 15:39:49 +00:00

Fixed crash when changing FPS

This commit is contained in:
OverloadedOrama 2020-03-10 00:47:21 +02:00
parent 87b22e7d6d
commit e71f76d8ee

View file

@ -123,7 +123,6 @@ func _on_AnimationTimer_timeout() -> void:
func _on_FPSValue_value_changed(value) -> void: func _on_FPSValue_value_changed(value) -> void:
fps = float(value) fps = float(value)
Global.animation_timer.wait_time = 1 / fps Global.animation_timer.wait_time = 1 / fps
Global.timeline_seconds.update()
func _on_PastOnionSkinning_value_changed(value) -> void: func _on_PastOnionSkinning_value_changed(value) -> void:
Global.onion_skinning_past_rate = int(value) Global.onion_skinning_past_rate = int(value)