feat: 新增滚动条控制

This commit is contained in:
MTrun
2022-01-20 22:13:51 +08:00
parent ceb8cd5158
commit c57a4850b6
4 changed files with 62 additions and 22 deletions
+3
View File
@@ -6,6 +6,7 @@ export enum EditCanvasTypeEnum {
HEIGHT = 'height',
OFFSET = 'offset',
SCALE = 'scale',
USERSCALE = 'userScale',
LOCKSCALE = 'lockScale',
BACKGROUND = 'background'
}
@@ -21,6 +22,8 @@ export type EditCanvasType = {
[EditCanvasTypeEnum.OFFSET]: number
// 缩放
[EditCanvasTypeEnum.SCALE]: number
// 缩放
[EditCanvasTypeEnum.USERSCALE]: number
// 锁定缩放
[EditCanvasTypeEnum.LOCKSCALE]: boolean
// 背景色