fix(ui): center the agent menu button in its outline

This commit is contained in:
Kurt Himebauch committed 2026-11-23 11:28:51 -05:00
1 parent 36c807fbce
commit f211bbb5a8
1 file changed
+1 -1
@@ -411,7 +411,7 @@ private fun AgentMenu(open: Boolean, onOpen: (Boolean) -> Unit, onPanel: (AgentP
Row(
verticalAlignment = Alignment.CenterVertically,
modifier = Modifier.clip(Shape16).background(colors.surface.copy(alpha = if (open) 0.97f else 0.88f))
.border(1.dp, pal.line, Shape16).padding(end = 2.dp),
.border(1.dp, pal.line, Shape16).padding(end = 4.dp),
) {
androidx.compose.animation.AnimatedVisibility(open, enter = expandHorizontally(expandFrom = Alignment.End) + fadeIn(),
exit = shrinkHorizontally(shrinkTowards = Alignment.End) + fadeOut()) {