mirror of
https://github.com/BetterAndroid/FlexiUI.git
synced 2025-12-12 09:13:36 +08:00
fix: add missing borderColor in DropdownMenu
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user