@leafer/selector 1.0.3 → 1.0.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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/src/Picker.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leafer/selector",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "@leafer/selector",
5
5
  "author": "Chao (Leafer) Wan",
6
6
  "license": "MIT",
@@ -22,9 +22,9 @@
22
22
  "leaferjs"
23
23
  ],
24
24
  "dependencies": {
25
- "@leafer/core": "1.0.3"
25
+ "@leafer/core": "1.0.5"
26
26
  },
27
27
  "devDependencies": {
28
- "@leafer/interface": "1.0.3"
28
+ "@leafer/interface": "1.0.5"
29
29
  }
30
30
  }
package/src/Picker.ts CHANGED
@@ -126,7 +126,7 @@ export class Picker {
126
126
  if (child.isBranch) {
127
127
  if (hit || child.__ignoreHitWorld) {
128
128
  this.eachFind(child.children, child.__onlyHitMask)
129
- if (child.isBranchLeaf && !this.findList.length) this.hitChild(child, point) // like frame
129
+ if (child.isBranchLeaf) this.hitChild(child, point) // Box / Frame
130
130
  }
131
131
  } else {
132
132
  if (hit) this.hitChild(child, point)