1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00

Call move_content_confirm() when layers and frames change

This commit is contained in:
Manolis Papadeas 2021-04-19 19:55:29 +03:00
parent 1d5b44fad2
commit f1b98f662e

View file

@ -456,6 +456,7 @@ func remove_cel_buttons() -> void:
func frame_changed(value : int) -> void:
Global.canvas.selection.move_content_confirm()
current_frame = value
Global.current_frame_mark_label.text = "%s/%s" % [str(current_frame + 1), frames.size()]
@ -487,6 +488,7 @@ func frame_changed(value : int) -> void:
func layer_changed(value : int) -> void:
Global.canvas.selection.move_content_confirm()
current_layer = value
for container in Global.layers_container.get_children():