fix: 解决重叠拖拽放置位置错误的bug

This commit is contained in:
MTrun
2022-02-16 19:18:39 +08:00
parent 825d21a3a9
commit c107c8c440
11 changed files with 60 additions and 34 deletions
+3
View File
@@ -9,6 +9,7 @@ export enum EditCanvasTypeEnum {
SCALE = 'scale',
USER_SCALE = 'userScale',
LOCK_SCALE = 'lockScale',
Is_Drag= 'isDrag',
}
// 编辑区域
@@ -24,6 +25,8 @@ export type EditCanvasType = {
[EditCanvasTypeEnum.USER_SCALE]: number
// 锁定缩放
[EditCanvasTypeEnum.LOCK_SCALE]: boolean
// 拖拽中
[EditCanvasTypeEnum.Is_Drag]: boolean
}
// 滤镜