Небольшие поправки
This commit is contained in:
@@ -203,6 +203,9 @@ class App extends Vue {
|
|||||||
return (this.mode !== null && this.mode != 'reader' && this.mode != 'omnireader');
|
return (this.mode !== null && this.mode != 'reader' && this.mode != 'omnireader');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
set showAsideBar(value) {
|
||||||
|
}
|
||||||
|
|
||||||
get isReaderActive() {
|
get isReaderActive() {
|
||||||
return this.rootRoute == '/reader';
|
return this.rootRoute == '/reader';
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -131,7 +131,11 @@ class TextPage extends Vue {
|
|||||||
await this.doPageAnimation();
|
await this.doPageAnimation();
|
||||||
}, 10);
|
}, 10);
|
||||||
|
|
||||||
this.$root.$on('resize', () => {this.$nextTick(this.onResize)});
|
this.$root.$on('resize', async() => {
|
||||||
|
this.$nextTick(this.onResize);
|
||||||
|
await sleep(300);
|
||||||
|
this.$nextTick(this.onResize);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
mounted() {
|
mounted() {
|
||||||
@@ -446,9 +450,6 @@ class TextPage extends Vue {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async onResize() {
|
async onResize() {
|
||||||
/*this.page1 = null;
|
|
||||||
this.page2 = null;
|
|
||||||
this.statusBar = null;*/
|
|
||||||
try {
|
try {
|
||||||
this.calcDrawProps();
|
this.calcDrawProps();
|
||||||
this.setBackground();
|
this.setBackground();
|
||||||
|
|||||||
Reference in New Issue
Block a user