Skip to content

Commit 5219f81

Browse files
committed
🚸 增加平板上的双击触发概率
1 parent 84152ba commit 5219f81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/core/service/controlService/controller/ControllerClass.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export class ControllerClass {
9595
const now = new Date().getTime();
9696
if (
9797
now - this.lastClickTime < 300 &&
98-
this.lastClickLocation.distance(new Vector(event.clientX, event.clientY)) < 5
98+
this.lastClickLocation.distance(new Vector(event.clientX, event.clientY)) < 20
9999
) {
100100
this.mouseDoubleClick(event);
101101
}

0 commit comments

Comments
 (0)