mirror of
https://github.com/gotson/komga.git
synced 2026-02-15 03:43:05 +01:00
feat(webreader): do not always show reading direction pop
do not show the reading direction popup if the one from the book is the same as the current closes #151
This commit is contained in:
parent
32170d4d69
commit
dc7dc75e31
1 changed files with 5 additions and 3 deletions
|
|
@ -573,9 +573,11 @@ export default Vue.extend({
|
||||||
case ReadingDirection.LEFT_TO_RIGHT:
|
case ReadingDirection.LEFT_TO_RIGHT:
|
||||||
case ReadingDirection.RIGHT_TO_LEFT:
|
case ReadingDirection.RIGHT_TO_LEFT:
|
||||||
case ReadingDirection.VERTICAL:
|
case ReadingDirection.VERTICAL:
|
||||||
// bypass setter so cookies aren't set
|
if (this.readingDirection !== this.book.metadata.readingDirection) {
|
||||||
this.settings.readingDirection = this.book.metadata.readingDirection
|
// bypass setter so cookies aren't set
|
||||||
this.snackReadingDirection = true
|
this.settings.readingDirection = this.book.metadata.readingDirection
|
||||||
|
this.snackReadingDirection = true
|
||||||
|
}
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue