Book Pauk 6 жил өмнө
parent
commit
ca99b2b7d3

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

@@ -271,10 +271,6 @@ class TextPage extends Vue {
             await this.loadFonts();
 
         this.setBackground();
-        this.page1 = null;
-        this.page2 = null;
-        this.statusBar = null;
-
         this.draw();
 
         // шрифты хрен знает когда подгружаются, поэтому
@@ -346,7 +342,12 @@ class TextPage extends Vue {
 
                 this.parsed = this.book.parsed;
 
+                this.page1 = null;
+                this.page2 = null;
+                this.statusBar = null;
+
                 this.calcPropsAndLoadFonts();
+                
                 this.refreshTime();
                 if (this.lazyParseEnabled)
                     this.lazyParsePara();