@leafer/data 1.4.0 → 1.4.1

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/LeafData.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leafer/data",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "@leafer/data",
5
5
  "author": "Chao (Leafer) Wan",
6
6
  "license": "MIT",
@@ -22,6 +22,6 @@
22
22
  "leaferjs"
23
23
  ],
24
24
  "devDependencies": {
25
- "@leafer/interface": "1.4.0"
25
+ "@leafer/interface": "1.4.1"
26
26
  }
27
27
  }
package/src/LeafData.ts CHANGED
@@ -124,7 +124,7 @@ export class LeafData implements ILeafData {
124
124
  const t = this as ILeafData
125
125
  if (t.blendMode === 'pass-through') {
126
126
  const leaf = this.__leaf
127
- if ((t.opacity < 1 && (leaf.isBranch || t.__hasMultiPaint)) || leaf.__hasEraser || t.eraser) {
127
+ if ((t.opacity < 1 && (leaf.isBranch || t.__hasMultiPaint)) || leaf.__hasEraser || t.eraser || t.filter) {
128
128
  t.__single = true
129
129
  } else if (t.__single) {
130
130
  t.__single = false