fix: reposition scale bar to bottom-right near FABs

Move scale bar from bottom-left to bottom-right, positioned to the
left of the My Location button for better visual grouping with
map controls.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
torlando-tech
2025-12-20 01:34:34 -05:00
parent b3d54511da
commit 66e2da2f19

View File

@@ -515,13 +515,13 @@ fun MapScreen(
)
}
// Scale bar (bottom left, above navigation bar)
// Scale bar (bottom right, next to My Location button)
ScaleBar(
metersPerPixel = metersPerPixel,
modifier = Modifier
.align(Alignment.BottomStart)
.align(Alignment.BottomEnd)
.navigationBarsPadding()
.padding(start = 16.dp, bottom = 96.dp), // Above bottom navigation bar
.padding(end = 72.dp, bottom = 172.dp), // Left of My Location button
)
// FABs positioned above navigation bar