mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-07 11:17:25 +01:00
parent
cc6ae9d1a8
commit
437c995d12
@ -43,7 +43,13 @@ class PagerConfig(
|
|||||||
.register({ navigationMode = it }, { updateNavigation(navigationMode) })
|
.register({ navigationMode = it }, { updateNavigation(navigationMode) })
|
||||||
|
|
||||||
preferences.pagerNavInverted()
|
preferences.pagerNavInverted()
|
||||||
.register({ tappingInverted = it }, { navigator.invertMode = it })
|
.register(
|
||||||
|
{ tappingInverted = it },
|
||||||
|
{
|
||||||
|
navigator.invertMode = it
|
||||||
|
navigationModeChangedListener?.invoke()
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
preferences.dualPageSplitPaged()
|
preferences.dualPageSplitPaged()
|
||||||
.register({ dualPageSplit = it }, { imagePropertyChangedListener?.invoke() })
|
.register({ dualPageSplit = it }, { imagePropertyChangedListener?.invoke() })
|
||||||
|
@ -36,7 +36,13 @@ class WebtoonConfig(
|
|||||||
.register({ navigationMode = it }, { updateNavigation(it) })
|
.register({ navigationMode = it }, { updateNavigation(it) })
|
||||||
|
|
||||||
preferences.webtoonNavInverted()
|
preferences.webtoonNavInverted()
|
||||||
.register({ tappingInverted = it }, { navigator.invertMode = it })
|
.register(
|
||||||
|
{ tappingInverted = it },
|
||||||
|
{
|
||||||
|
navigator.invertMode = it
|
||||||
|
navigationModeChangedListener?.invoke()
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
preferences.dualPageSplitWebtoon()
|
preferences.dualPageSplitWebtoon()
|
||||||
.register({ dualPageSplit = it }, { imagePropertyChangedListener?.invoke() })
|
.register({ dualPageSplit = it }, { imagePropertyChangedListener?.invoke() })
|
||||||
|
Loading…
Reference in New Issue
Block a user