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:
OverloadedOrama 2020-03-18 03:24:15 +02:00
parent 73da8eeb1a
commit b7b3d1d924
2 changed files with 6 additions and 1 deletions

View file

@ -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()