fix layer visibility toggle
This commit is contained in:
parent
1b65cc08ea
commit
f4c5b9b996
|
|
@ -2516,6 +2516,7 @@ class Layer extends Widget {
|
|||
|
||||
draw(ctx) {
|
||||
// super.draw(ctx)
|
||||
if (!this.visible) return;
|
||||
let frameInfo = this.getFrameValue(this.frameNum);
|
||||
let frame = frameInfo.valueAtN !== undefined ? frameInfo.valueAtN : frameInfo.prev;
|
||||
const keyframe = frameInfo.valueAtN ? true : false
|
||||
|
|
|
|||
Loading…
Reference in New Issue