Преглед изворни кода

轨迹分输入间隔循旧例

Michael Wang пре 4 година
родитељ
комит
fb86a57764
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/features/mark/MarkBoardTrack.vue

+ 1 - 1
src/features/mark/MarkBoardTrack.vue

@@ -158,7 +158,7 @@ export default defineComponent({
         return;
       }
 
-      if (event.timeStamp - keyPressTimestamp > 1.5 * 1000) {
+      if (event.timeStamp - keyPressTimestamp > 1 * 1000) {
         keys = [];
       }
       keyPressTimestamp = event.timeStamp;