Доделки скроллинга
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
@book-pos-changed="bookPosChanged"
|
||||
@tool-bar-toggle="toolBarToggle"
|
||||
@full-screen-toogle="fullScreenToggle"
|
||||
@scrolling-toggle="scrollingToggle"
|
||||
@stop-scrolling="stopScrolling"
|
||||
></component>
|
||||
</keep-alive>
|
||||
|
||||
@@ -250,8 +250,7 @@ class Reader extends Vue {
|
||||
this.setPositionActive = false;
|
||||
this.historyActive = false;
|
||||
this.settingsActive = false;
|
||||
if (this.scrollingActive)
|
||||
this.scrollingToggle();
|
||||
this.stopScrolling();
|
||||
}
|
||||
|
||||
loaderToggle() {
|
||||
@@ -276,6 +275,11 @@ class Reader extends Vue {
|
||||
}
|
||||
}
|
||||
|
||||
stopScrolling() {
|
||||
if (this.scrollingActive)
|
||||
this.scrollingToggle();
|
||||
}
|
||||
|
||||
scrollingToggle() {
|
||||
this.scrollingActive = !this.scrollingActive;
|
||||
if (this.activePage == 'TextPage') {
|
||||
|
||||
Reference in New Issue
Block a user