@overtone-art/canvas-editor-core 0.8.4 → 0.8.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.global.js +1 -1
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3422,7 +3422,7 @@ function composeMaskGroup(children, entries, options) {
|
|
|
3422
3422
|
});
|
|
3423
3423
|
});
|
|
3424
3424
|
const first = entries.find((entry) => entry.visible);
|
|
3425
|
-
const withBase = first
|
|
3425
|
+
const withBase = !first || first.mode !== "add" ? [baseRect(options.box), ...children] : [...children];
|
|
3426
3426
|
return new Group2(withBase, {
|
|
3427
3427
|
absolutePositioned: options.absolute,
|
|
3428
3428
|
// Cached, so the children's compositing operations resolve against each
|