@leafer-ui/interface 1.2.1 → 1.2.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leafer-ui/interface",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "@leafer-ui/interface",
5
5
  "author": "Chao (Leafer) Wan",
6
6
  "license": "MIT",
@@ -22,6 +22,6 @@
22
22
  "leaferjs"
23
23
  ],
24
24
  "dependencies": {
25
- "@leafer/interface": "1.2.1"
25
+ "@leafer/interface": "1.2.2"
26
26
  }
27
27
  }
package/src/IUI.ts CHANGED
@@ -290,6 +290,7 @@ export interface ICanvas extends ICanvasAttrData, IRect {
290
290
  }
291
291
  interface ICanvasAttrData {
292
292
  smooth?: boolean
293
+ safeResize?: boolean
293
294
  contextSettings?: ICanvasContext2DSettings
294
295
  url?: string
295
296
  }
package/types/index.d.ts CHANGED
@@ -771,6 +771,7 @@ interface ICanvas extends ICanvasAttrData, IRect {
771
771
  }
772
772
  interface ICanvasAttrData {
773
773
  smooth?: boolean;
774
+ safeResize?: boolean;
774
775
  contextSettings?: ICanvasContext2DSettings;
775
776
  url?: string;
776
777
  }