Работа над LibsPage (ExternalLibs)

This commit is contained in:
Book Pauk
2020-10-28 20:14:42 +07:00
parent 8c0f193738
commit 582203f5da
5 changed files with 36 additions and 204 deletions

View File

@@ -602,7 +602,6 @@ class Reader extends Vue {
closeAllWindows() {
this.setPositionActive = false;
this.copyTextActive = false;
this.libsActive = false;
this.recentBooksActive = false;
this.settingsActive = false;
this.stopScrolling();
@@ -718,11 +717,9 @@ class Reader extends Vue {
libsToogle() {
this.libsActive = !this.libsActive;
if (this.libsActive) {
this.closeAllWindows();
this.$refs.libsPage.init();
this.libsActive = true;
} else {
this.libsActive = false;
this.$refs.libsPage.done();
}
}