@leafer-ui/data 1.9.0 → 1.9.2

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 +5 -5
  2. package/src/BoxData.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leafer-ui/data",
3
- "version": "1.9.0",
3
+ "version": "1.9.2",
4
4
  "description": "@leafer-ui/data",
5
5
  "author": "Chao (Leafer) Wan",
6
6
  "license": "MIT",
@@ -22,11 +22,11 @@
22
22
  "leaferjs"
23
23
  ],
24
24
  "dependencies": {
25
- "@leafer/core": "1.9.0",
26
- "@leafer-ui/external": "1.9.0"
25
+ "@leafer/core": "1.9.2",
26
+ "@leafer-ui/external": "1.9.2"
27
27
  },
28
28
  "devDependencies": {
29
- "@leafer/interface": "1.9.0",
30
- "@leafer-ui/interface": "1.9.0"
29
+ "@leafer/interface": "1.9.2",
30
+ "@leafer-ui/interface": "1.9.2"
31
31
  }
32
32
  }
package/src/BoxData.ts CHANGED
@@ -10,6 +10,6 @@ export class BoxData extends GroupData implements IBoxData {
10
10
  // 当成整体处理
11
11
  public get __drawAfterFill(): boolean { const t = this as IBoxData; return t.__single || t.__clipAfterFill }
12
12
 
13
- public get __clipAfterFill(): boolean { const t = this as IBoxData; return t.overflow === 'hide' && t.__leaf.children.length && ((t.__leaf as IBox).isOverflow || super.__clipAfterFill) as unknown as boolean }
13
+ public get __clipAfterFill(): boolean { const t = this as IBoxData; return t.overflow !== 'show' && t.__leaf.children.length && ((t.__leaf as IBox).isOverflow || super.__clipAfterFill) as unknown as boolean }
14
14
 
15
15
  }