Fix issue with frame moving and current_frame not changing

This bug actually originates from before the timeline remake and can be found in v0.6.2 and potentially earlier versions.
This commit is contained in:
OverloadedOrama 2020-03-06 22:44:48 +02:00
parent 9812a34b8b
commit 4969978f46
2 changed files with 4 additions and 1 deletions

View file

@ -495,7 +495,6 @@ func canvases_changed(value : Array) -> void:
var frame_button = load("res://Prefabs/FrameButton.tscn").instance()
frame_button.frame = j
frame_button.layer = i
frame_button.pressed = true
frame_button.get_child(0).texture = Global.canvases[j].layers[i][1]
layers[i][2].add_child(frame_button)