From ca99b2b7d363e9b76595fa0c51eed68c00a38e56 Mon Sep 17 00:00:00 2001 From: Book Pauk Date: Wed, 30 Jan 2019 17:11:53 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=BA?= =?UTF-8?q?=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/components/Reader/TextPage/TextPage.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/client/components/Reader/TextPage/TextPage.vue b/client/components/Reader/TextPage/TextPage.vue index bffb960d..6be01756 100644 --- a/client/components/Reader/TextPage/TextPage.vue +++ b/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();