Browse Source

轨迹分输入间隔循旧例

Michael Wang 4 năm trước cách đây
mục cha
commit
fb86a57764
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;