perf: 优化画布放大缩小的体验

This commit is contained in:
奔跑的面条 2022-12-22 00:51:25 +08:00
parent f2c49b171e
commit e4514505c3

View File

@ -204,7 +204,10 @@ watch(
handleScroll()
setTimeout(() => {
canvasPosCenter()
reDraw()
}, 500)
} else {
reDraw()
}
}
)