@@ -53,11 +53,11 @@ internal class CameraLayoutObserver(
5353 is NavigationState .DestinationPreview ,
5454 is NavigationState .FreeDrive ,
5555 is NavigationState .RoutePreview -> {
56- EdgeInsets (vPadding, hPadding, vPadding + bottom, hPadding)
56+ EdgeInsets (vPadding, hPadding, bottom, hPadding)
5757 }
5858 is NavigationState .ActiveNavigation ,
5959 is NavigationState .Arrival -> {
60- EdgeInsets (vPadding + top, hPadding, vPadding + bottom, hPadding)
60+ EdgeInsets (vPadding + top, hPadding, bottom, hPadding)
6161 }
6262 }
6363 }
@@ -68,12 +68,7 @@ internal class CameraLayoutObserver(
6868 val bottom = mapView.height.toDouble() - binding.roadNameLayout.top.toDouble()
6969 return when (store.state.value.navigation) {
7070 is NavigationState .FreeDrive -> {
71- EdgeInsets (
72- vPaddingLandscape,
73- hPaddingLandscape,
74- vPaddingLandscape + bottom,
75- hPaddingLandscape
76- )
71+ EdgeInsets (vPaddingLandscape, hPaddingLandscape, bottom, hPaddingLandscape)
7772 }
7873 is NavigationState .DestinationPreview ,
7974 is NavigationState .RoutePreview ,
@@ -82,8 +77,8 @@ internal class CameraLayoutObserver(
8277 EdgeInsets (
8378 vPaddingLandscape,
8479 hPaddingLandscape + left,
85- vPaddingLandscape + bottom,
86- hPaddingLandscape + right
80+ bottom,
81+ right - hPaddingLandscape
8782 )
8883 }
8984 }
0 commit comments