@leafer/interface 1.1.2 → 1.2.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leafer/interface",
3
- "version": "1.1.2",
3
+ "version": "1.2.1",
4
4
  "description": "@leafer/interface",
5
5
  "author": "Chao (Leafer) Wan",
6
6
  "license": "MIT",
@@ -547,7 +547,7 @@ export interface ILeaf extends ILeafRender, ILeafHit, ILeafBounds, ILeafMatrix,
547
547
  updateState(): void
548
548
  updateLayout(): void
549
549
  forceUpdate(attrName?: string): void
550
- forceRender(_bounds?: IBoundsData): void
550
+ forceRender(bounds?: IBoundsData, sync?: boolean): void
551
551
 
552
552
  // ILeafMatrix ->
553
553
  __updateWorldMatrix(): void
package/types/index.d.ts CHANGED
@@ -1581,7 +1581,7 @@ interface ILeaf extends ILeafRender, ILeafHit, ILeafBounds, ILeafMatrix, ILeafDa
1581
1581
  updateState(): void;
1582
1582
  updateLayout(): void;
1583
1583
  forceUpdate(attrName?: string): void;
1584
- forceRender(_bounds?: IBoundsData): void;
1584
+ forceRender(bounds?: IBoundsData, sync?: boolean): void;
1585
1585
  __updateWorldMatrix(): void;
1586
1586
  __updateLocalMatrix(): void;
1587
1587
  __updateWorldBounds(): void;