mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 17:14: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
|
@ -99,6 +99,7 @@ func _on_PopupMenu_id_pressed(ID : int) -> void:
|
|||
var tex := ImageTexture.new()
|
||||
tex.create_from_image(sprite, 0)
|
||||
Global.canvases[frame].layers[layer][1] = tex
|
||||
Global.canvases[frame].update()
|
||||
|
||||
func remove_frame() -> void:
|
||||
var canvas : Canvas = Global.canvases[frame]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue