Selaa lähdekoodia

Merge branch 'release/0.6.9s'

Book Pauk 6 vuotta sitten
vanhempi
commit
4fd577d7c5
1 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  1. 3 1
      client/components/Reader/TextPage/TextPage.vue

+ 3 - 1
client/components/Reader/TextPage/TextPage.vue

@@ -174,7 +174,6 @@ class TextPage extends Vue {
         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;
@@ -201,6 +200,9 @@ class TextPage extends Vue {
         this.drawHelper.lineHeight = this.lineHeight;
         this.drawHelper.context = this.context;
 
+        //statusBar
+        this.statusBarClickable = this.drawHelper.statusBarClickable(this.statusBarTop, this.statusBarHeight);
+
         //parsed
         if (this.parsed) {
             this.parsed.p = this.p;