mirror of
https://github.com/gotson/komga.git
synced 2025-12-21 16:03:03 +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.RIGHT_TO_LEFT:
|
||||
case ReadingDirection.VERTICAL:
|
||||
// bypass setter so cookies aren't set
|
||||
this.settings.readingDirection = this.book.metadata.readingDirection
|
||||
this.snackReadingDirection = true
|
||||
if (this.readingDirection !== this.book.metadata.readingDirection) {
|
||||
// bypass setter so cookies aren't set
|
||||
this.settings.readingDirection = this.book.metadata.readingDirection
|
||||
this.snackReadingDirection = true
|
||||
}
|
||||
break
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue