Поправлен баг клика в статус баре

This commit is contained in:
Book Pauk
2019-06-26 20:03:19 +07:00
parent 93c9fb53ac
commit 2c8efebe98

View File

@@ -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;