From 2e469bd267f9b68b7201a71c27a25192f9d9a195 Mon Sep 17 00:00:00 2001 From: Book Pauk Date: Thu, 24 Jan 2019 01:23:46 +0700 Subject: [PATCH] =?UTF-8?q?=D0=A0=D0=B5=D1=84=D0=B0=D0=BA=D1=82=D0=BE?= =?UTF-8?q?=D1=80=D0=B8=D0=BD=D0=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/components/Reader/TextPage/TextPage.vue | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/client/components/Reader/TextPage/TextPage.vue b/client/components/Reader/TextPage/TextPage.vue index 4291e610..5ee99fc9 100644 --- a/client/components/Reader/TextPage/TextPage.vue +++ b/client/components/Reader/TextPage/TextPage.vue @@ -74,11 +74,6 @@ class TextPage extends Vue { } async calcDrawProps() { -/* this.canvas1.style.left = '0px'; - this.canvas1.style.top = '0px'; - this.canvas2.style.left = '0px'; - this.canvas2.style.top = '0px'; -*/ this.context1 = this.canvas1.getContext('2d'); this.context2 = this.canvas2.getContext('2d'); @@ -125,7 +120,7 @@ class TextPage extends Vue { this.parsed.fontByStyle = this.fontByStyle; } - this.statusBarColor = this.hex2rgba(this.textColor, 0.5); + this.statusBarColor = this.hex2rgba(this.textColor, this.statusBarColorAlpha); this.currentTransition = ''; this.pageChangeDirectionDown = true; @@ -177,6 +172,7 @@ class TextPage extends Vue { this.showStatusBar = true; this.statusBarTop = false;// top, bottom this.statusBarHeight = 20;// px + this.statusBarColorAlpha = 0.4; this.pageChangeTransition = '';// '' - нет, downShift, rightShift, thaw - протаивание, blink - мерцание this.pageChangeTransitionSpeed = 50; //0-100%