Show nav overlay on invert tap change

Based on db4eca90e9
This commit is contained in:
arkon 2021-03-28 16:13:34 -04:00
parent cc6ae9d1a8
commit 437c995d12
2 changed files with 14 additions and 2 deletions

View File

@ -43,7 +43,13 @@ class PagerConfig(
.register({ navigationMode = it }, { updateNavigation(navigationMode) })
preferences.pagerNavInverted()
.register({ tappingInverted = it }, { navigator.invertMode = it })
.register(
{ tappingInverted = it },
{
navigator.invertMode = it
navigationModeChangedListener?.invoke()
}
)
preferences.dualPageSplitPaged()
.register({ dualPageSplit = it }, { imagePropertyChangedListener?.invoke() })

View File

@ -36,7 +36,13 @@ class WebtoonConfig(
.register({ navigationMode = it }, { updateNavigation(it) })
preferences.webtoonNavInverted()
.register({ tappingInverted = it }, { navigator.invertMode = it })
.register(
{ tappingInverted = it },
{
navigator.invertMode = it
navigationModeChangedListener?.invoke()
}
)
preferences.dualPageSplitWebtoon()
.register({ dualPageSplit = it }, { imagePropertyChangedListener?.invoke() })