mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 17:19:50 +00:00
Add a timeline_updated()
signal in Project
Used by https://github.com/Orama-Interactive/TeledrawingPixelorama extension
This commit is contained in:
parent
b0a8ad17d4
commit
2e9c4eb1b9
|
@ -5,6 +5,7 @@ extends RefCounted
|
|||
|
||||
signal serialized(Dictionary)
|
||||
signal about_to_deserialize(Dictionary)
|
||||
signal timeline_updated()
|
||||
|
||||
var name := "":
|
||||
set(value):
|
||||
|
@ -870,6 +871,7 @@ func _update_frame_ui() -> void:
|
|||
cel_hbox.get_child(f).frame = f
|
||||
cel_hbox.get_child(f).button_setup()
|
||||
_set_timeline_first_and_last_frames()
|
||||
timeline_updated.emit()
|
||||
|
||||
|
||||
## Update the layer indices and layer/cel buttons
|
||||
|
@ -881,6 +883,7 @@ func _update_layer_ui() -> void:
|
|||
for f in frames.size():
|
||||
cel_hbox.get_child(f).layer = l
|
||||
cel_hbox.get_child(f).button_setup()
|
||||
timeline_updated.emit()
|
||||
|
||||
|
||||
## Change the current reference image
|
||||
|
|
Loading…
Reference in a new issue