Parcourir la source

Поправил таймаут, улучшение скорости синхронизации

Book Pauk il y a 3 ans
Parent
commit
45c6d3da77
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      client/components/Reader/Reader.vue

+ 1 - 1
client/components/Reader/Reader.vue

@@ -310,7 +310,7 @@ class Reader {
                 await this.$nextTick();
                 this.paramPosIgnore = false;
             }
-        }, 500, {maxWait: 5000});
+        }, 250, {maxWait: 5000});
 
         this.scrollingSetRecentBook = _.debounce((newValue) => {
             this.debouncedSetRecentBook(newValue);