Pārlūkot izejas kodu

К предыдущему

Book Pauk 3 gadi atpakaļ
vecāks
revīzija
c0b658d9e6
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      client/components/Reader/TextPage/TextPage.vue

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

@@ -163,6 +163,7 @@ class TextPage {
         }, 10);
 
         this.$root.addEventHook('resize', async() => {
+            this.$nextTick(this.onResize);
             await utils.sleep(200);
             this.$nextTick(this.onResize);
         });