@leafer/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 +1 -1
- package/src/canvas/ILeaferCanvas.ts +1 -1
- package/types/index.d.ts +1 -1
package/package.json
CHANGED
|
@@ -191,7 +191,7 @@ export interface ILeaferCanvas extends ICanvasAttr, ICanvasMethod, IPathDrawer {
|
|
|
191
191
|
startAutoLayout(autoBounds: IAutoBounds, listener: IResizeEventListener): void
|
|
192
192
|
stopAutoLayout(): void
|
|
193
193
|
|
|
194
|
-
resize(size: IScreenSizeData): void
|
|
194
|
+
resize(size: IScreenSizeData, safeResize?: boolean): void
|
|
195
195
|
updateViewSize(): void
|
|
196
196
|
updateClientBounds(): void
|
|
197
197
|
getClientBounds(update?: boolean): IBoundsData
|
package/types/index.d.ts
CHANGED
|
@@ -1080,7 +1080,7 @@ interface ILeaferCanvas extends ICanvasAttr, ICanvasMethod, IPathDrawer {
|
|
|
1080
1080
|
saveAs(filename: string, quality?: number): Promise<boolean>;
|
|
1081
1081
|
startAutoLayout(autoBounds: IAutoBounds, listener: IResizeEventListener): void;
|
|
1082
1082
|
stopAutoLayout(): void;
|
|
1083
|
-
resize(size: IScreenSizeData): void;
|
|
1083
|
+
resize(size: IScreenSizeData, safeResize?: boolean): void;
|
|
1084
1084
|
updateViewSize(): void;
|
|
1085
1085
|
updateClientBounds(): void;
|
|
1086
1086
|
getClientBounds(update?: boolean): IBoundsData;
|