Поправка мелкого бага

This commit is contained in:
Book Pauk
2019-03-03 12:32:22 +07:00
parent ebd96c4759
commit 921744167e
2 changed files with 11 additions and 4 deletions

View File

@@ -340,8 +340,8 @@ class Reader extends Vue {
this.setPositionActive = true;
this.$nextTick(() => {
this.$refs.setPositionPage.sliderMax = this.mostRecentBook().textLength - 1;
this.$refs.setPositionPage.sliderValue = this.mostRecentBook().bookPos;
const recent = this.mostRecentBook();
this.$refs.setPositionPage.init(recent.bookPos, recent.textLength - 1);
});
} else {
this.setPositionActive = false;