mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 14:04:43 -04:00
parent
36d88efbd3
commit
b3aa4a6343
3 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ func _draw() -> void:
|
|||
if frame >= current_project.frames.size():
|
||||
frame = current_project.current_frame
|
||||
|
||||
$AnimationTimer.wait_time = Global.current_project.frame_duration[frame] * (1 / Global.animation_timeline.fps)
|
||||
$AnimationTimer.wait_time = current_project.frame_duration[frame] * (1 / Global.animation_timeline.fps)
|
||||
|
||||
if animation_timer.is_stopped():
|
||||
frame = current_project.current_frame
|
||||
|
|
|
@ -15,7 +15,6 @@ func _ready() -> void:
|
|||
tag_scroll_container = Global.find_node_by_name(self, "TagScroll")
|
||||
timeline_scroll.get_h_scrollbar().connect("value_changed", self, "_h_scroll_changed")
|
||||
Global.animation_timer.wait_time = 1 / fps
|
||||
Global.current_project.frame_duration.append(1)
|
||||
|
||||
|
||||
func _h_scroll_changed(value : float) -> void:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue