From e67d05007f38b8f5b5dddc7d8899bc4e933fa19f Mon Sep 17 00:00:00 2001 From: Book Pauk Date: Sat, 27 Apr 2019 17:21:49 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=20=D0=B1=D0=B0=D0=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/components/Reader/TextPage/TextPage.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/client/components/Reader/TextPage/TextPage.vue b/client/components/Reader/TextPage/TextPage.vue index 7593113c..b129b89c 100644 --- a/client/components/Reader/TextPage/TextPage.vue +++ b/client/components/Reader/TextPage/TextPage.vue @@ -171,6 +171,13 @@ class TextPage extends Vue { this.fontShift = this.fontVertShift/100; this.textShift = this.textVertShift/100 + this.fontShift; + //statusBar + this.$refs.statusBar.style.left = '0px'; + this.$refs.statusBar.style.top = (this.statusBarTop ? 1 : this.realHeight - this.statusBarHeight) + 'px'; + + this.statusBarColor = this.hex2rgba(this.textColor || '#000000', this.statusBarColorAlpha); + this.statusBarClickable = this.drawHelper.statusBarClickable(this.statusBarTop, this.statusBarHeight); + //drawHelper this.drawHelper.realWidth = this.realWidth; this.drawHelper.realHeight = this.realHeight; @@ -225,13 +232,6 @@ class TextPage extends Vue { this.parsed.imageFitWidth = this.imageFitWidth; } - //statusBar - this.$refs.statusBar.style.left = '0px'; - this.$refs.statusBar.style.top = (this.statusBarTop ? 1 : this.realHeight - this.statusBarHeight) + 'px'; - - this.statusBarColor = this.hex2rgba(this.textColor || '#000000', this.statusBarColorAlpha); - this.statusBarClickable = this.drawHelper.statusBarClickable(this.statusBarTop, this.statusBarHeight); - //scrolling page const pageSpace = this.scrollHeight - this.pageLineCount*this.lineHeight; let y = pageSpace/2;