Przeglądaj źródła

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

Book Pauk 3 lat temu
rodzic
commit
c0b658d9e6
1 zmienionych plików z 1 dodań i 0 usunięć
  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);
         });