Поправлен баг
This commit is contained in:
@@ -171,6 +171,13 @@ class TextPage extends Vue {
|
|||||||
this.fontShift = this.fontVertShift/100;
|
this.fontShift = this.fontVertShift/100;
|
||||||
this.textShift = this.textVertShift/100 + this.fontShift;
|
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
|
//drawHelper
|
||||||
this.drawHelper.realWidth = this.realWidth;
|
this.drawHelper.realWidth = this.realWidth;
|
||||||
this.drawHelper.realHeight = this.realHeight;
|
this.drawHelper.realHeight = this.realHeight;
|
||||||
@@ -225,13 +232,6 @@ class TextPage extends Vue {
|
|||||||
this.parsed.imageFitWidth = this.imageFitWidth;
|
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
|
//scrolling page
|
||||||
const pageSpace = this.scrollHeight - this.pageLineCount*this.lineHeight;
|
const pageSpace = this.scrollHeight - this.pageLineCount*this.lineHeight;
|
||||||
let y = pageSpace/2;
|
let y = pageSpace/2;
|
||||||
|
|||||||
Reference in New Issue
Block a user