mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 16:04:43 -04:00
Actually link the images - changes that happen to one linked cell happen to another
Also fixed a a crash in FrameButton.gd
This commit is contained in:
parent
73da8eeb1a
commit
b7b3d1d924
2 changed files with 6 additions and 1 deletions
|
@ -53,6 +53,11 @@ func _ready() -> void:
|
|||
# Store [Image, ImageTexture, Opacity]
|
||||
layers.append([sprite, tex, 1])
|
||||
|
||||
if self in l[5]:
|
||||
var current_layer := layers.size() - 1
|
||||
layers[current_layer][0] = l[5][0].layers[current_layer][0]
|
||||
layers[current_layer][1] = l[5][0].layers[current_layer][1]
|
||||
|
||||
# Only handle camera zoom settings & offset on the first frame
|
||||
if Global.canvases[0] == self:
|
||||
camera_zoom()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue