Skip to content
This repository was archived by the owner on May 18, 2026. It is now read-only.

Commit 238aa0c

Browse files
committed
fix: increase 'moved' event gap threshold to 10 frames
1 parent 50097a0 commit 238aa0c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/extensions/microbitMore/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2899,7 +2899,7 @@ class MbitMoreBlocks {
28992899
if (gestureName === 'MOVED') {
29002900
const now = Date.now();
29012901
const stepTime = this.runtime.currentStepTime;
2902-
const gapThreshold = stepTime * 5; // 5フレームの空白
2902+
const gapThreshold = stepTime * 10; // 10フレームの空白
29032903
const timeoutThreshold = stepTime * 30; // 30フレームで強制発火
29042904

29052905
const changedGestures = [];

0 commit comments

Comments
 (0)