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