fix: 画布变化后始终居中

This commit is contained in:
jeo young
2022-12-17 00:56:42 +08:00
parent 7341ff11f3
commit 0376703fd2
5 changed files with 25 additions and 6 deletions
+3
View File
@@ -11,6 +11,9 @@ interface Window {
// 编辑 JSON 的存储对象
opener: any
//当画布大小重新计算后
onCanvsSizecomputed:Function
}
declare type Recordable<T = any> = Record<string, T>