Fix nav overlay colors

This commit is contained in:
Jays2Kings 2021-04-05 21:52:37 -04:00
parent 7fa8162e5b
commit 8c6f3dc14e
2 changed files with 4 additions and 6 deletions

View File

@ -11,8 +11,8 @@ abstract class ViewerNavigation {
object MENU : NavigationRegion(R.string.menu, R.color.navigation_menu)
object PREV : NavigationRegion(R.string.previous, R.color.navigation_prev)
object NEXT : NavigationRegion(R.string.next, R.color.navigation_next)
object LEFT : NavigationRegion(R.string.left, R.color.navigation_left)
object RIGHT : NavigationRegion(R.string.right, R.color.navigation_right)
object LEFT : NavigationRegion(R.string.left, R.color.navigation_next)
object RIGHT : NavigationRegion(R.string.right, R.color.navigation_prev)
fun directionalRegion(LTR: Boolean): NavigationRegion {
return if (this === LEFT || this === RIGHT) {

View File

@ -64,10 +64,8 @@
<color name="pale_green">#99CC99</color>
<!-- Navigation overlay colors -->
<color name="navigation_next">#CB84E296</color>
<color name="navigation_prev">#CCFF7733</color>
<color name="navigation_menu">#CC95818D</color>
<color name="navigation_right">#CCA6CFD5</color>
<color name="navigation_left">#CC7D1128</color>
<color name="navigation_next">#CCA6CFD5</color>
<color name="navigation_prev">#CC7D1128</color>
</resources>