Explorar o código

轨迹分输入间隔循旧例

Michael Wang %!s(int64=4) %!d(string=hai) anos
pai
achega
fb86a57764
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;