فهرست منبع

Поправки

Book Pauk 6 سال پیش
والد
کامیت
dfe57ed20b
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      client/components/Reader/TextPage/TextPage.vue

+ 2 - 2
client/components/Reader/TextPage/TextPage.vue

@@ -266,11 +266,11 @@ class TextPage extends Vue {
 
     async calcPropsAndLoadFonts(omitLoadFonts) {
         this.calcDrawProps();
+        this.setBackground();
 
         if (!omitLoadFonts)
             await this.loadFonts();
 
-        this.setBackground();
         this.draw();
 
         // шрифты хрен знает когда подгружаются, поэтому
@@ -347,7 +347,7 @@ class TextPage extends Vue {
                 this.statusBar = null;
 
                 this.calcPropsAndLoadFonts();
-                
+
                 this.refreshTime();
                 if (this.lazyParseEnabled)
                     this.lazyParsePara();