@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.js
CHANGED
|
@@ -4122,7 +4122,7 @@ function composeMaskGroup(children, entries, options) {
|
|
|
4122
4122
|
});
|
|
4123
4123
|
});
|
|
4124
4124
|
const first = entries.find((entry) => entry.visible);
|
|
4125
|
-
const withBase = first
|
|
4125
|
+
const withBase = !first || first.mode !== "add" ? [baseRect(options.box), ...children] : [...children];
|
|
4126
4126
|
return new import_fabric15.Group(withBase, {
|
|
4127
4127
|
absolutePositioned: options.absolute,
|
|
4128
4128
|
// Cached, so the children's compositing operations resolve against each
|