mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 15:44:42 -04:00
Update frame when unlinking it
This commit is contained in:
parent
772e16bb4d
commit
5e942d7b3b
2 changed files with 2 additions and 1 deletions
|
@ -66,6 +66,6 @@ func _on_LockButton_pressed() -> void:
|
|||
|
||||
func _on_LinkButton_pressed() -> void:
|
||||
Global.layers[i][4] = !Global.layers[i][4]
|
||||
if !Global.layers[i][5]:
|
||||
if Global.layers[i][4] && !Global.layers[i][5]:
|
||||
Global.layers[i][5].append(Global.canvas)
|
||||
Global.layers[i][3].get_child(Global.current_frame)._ready()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue