fix: add missing borderColor in DropdownMenu

This commit is contained in:
2023-11-19 23:23:14 +08:00
parent 1fb7a8c324
commit adc0d7b9ac

View File

@@ -357,6 +357,7 @@ private fun DropdownMenuContent(
transformOrigin = transformOriginState.value transformOrigin = transformOriginState.value
} }
}, },
color = colors.borderColor,
style = style.borderStyle style = style.borderStyle
) { ) {
CompositionLocalProvider( CompositionLocalProvider(
@@ -527,7 +528,7 @@ private fun defaultDropdownListColors() = DropdownListColors(
private fun defaultDropdownMenuColors() = DropdownMenuColors( private fun defaultDropdownMenuColors() = DropdownMenuColors(
contentColor = LocalColors.current.textPrimary, contentColor = LocalColors.current.textPrimary,
activeColor = LocalColors.current.themePrimary.copy(alpha = 0.3f), activeColor = LocalColors.current.themePrimary.copy(alpha = 0.3f),
borderColor = AreaBox.color borderColor = LocalColors.current.foregroundSecondary
) )
@Composable @Composable