@hailin-zheng/editor-core 2.0.29 → 2.0.30

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.
@@ -394,7 +394,7 @@ export declare class ElementUtil {
394
394
  static getRectPath(x: number, y: number, width: number, height: number): string;
395
395
  static getFillSvgPath(pathPoints: Array<Position> | string, fill: string, width: number): any;
396
396
  static getFillSvgRect(x: number, y: number, width: number, height: number, fill: string): any;
397
- static getMousePos(e: MouseEvent): Position;
397
+ static getMousePos(e: MouseEvent, scale?: number): Position;
398
398
  static createClipPath(id: string, width: number, height: number, x?: number, y?: number): any;
399
399
  /**
400
400
  * 判断是否光标可以设置接受编辑
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "author": "hailin-zheng",
5
5
  "private": false,
6
6
  "license": "ISC",
7
- "version": "2.0.29",
7
+ "version": "2.0.30",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "bwip-js": "^3.0.5",