Feat:Mac双指触摸事件移动画布增加一点灵敏度

This commit is contained in:
街角小林
2024-01-25 08:58:33 +08:00
parent cf87333910
commit 59b2506884

View File

@@ -106,7 +106,7 @@ class View {
}
} else {
// 2.鼠标滚轮事件控制画布移动
const step = isTouchPad ? 5 : mousewheelMoveStep
const step = isTouchPad ? 10 : mousewheelMoveStep
let mx = 0
let my = 0
// 上移