mirror of
https://gitee.com/dromara/go-view.git
synced 2024-11-30 02:38:30 +08:00
perf: 优化画布放大缩小的体验
This commit is contained in:
parent
f2c49b171e
commit
e4514505c3
@ -204,7 +204,10 @@ watch(
|
||||
handleScroll()
|
||||
setTimeout(() => {
|
||||
canvasPosCenter()
|
||||
reDraw()
|
||||
}, 500)
|
||||
} else {
|
||||
reDraw()
|
||||
}
|
||||
}
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user