diff --git a/packages/editor/src/lib/editor/Editor.ts b/packages/editor/src/lib/editor/Editor.ts index 5a02c0148..4cf5b9743 100644 --- a/packages/editor/src/lib/editor/Editor.ts +++ b/packages/editor/src/lib/editor/Editor.ts @@ -4048,13 +4048,7 @@ export class Editor extends EventEmitter { /** @internal */ @computed private _getShapeMaskCache(): ComputedCache { return this.store.createComputedCache('pageMaskCache', (shape) => { - // todo: Consider adding a flag for this hardcoded behaviour - if ( - isPageId(shape.parentId) || - shape.type === 'note' || - this.findShapeAncestor(shape, (v) => v.type === 'note') - ) - return undefined + if (isPageId(shape.parentId)) return undefined const frameAncestors = this.getShapeAncestors(shape.id).filter((shape) => this.isShapeOfType(shape, 'frame')