Переглянути джерело

Поправка недочета

Book Pauk 6 роки тому
батько
коміт
dc0d87850c
1 змінених файлів з 4 додано та 0 видалено
  1. 4 0
      client/components/Reader/TextPage/TextPage.vue

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

@@ -361,6 +361,10 @@ class TextPage extends Vue {
     }
 
     onResize() {
+        this.page1 = null;
+        this.page2 = null;
+        this.statusBar = null;
+
         this.calcDrawProps();
         this.setBackground();
         this.draw();