Reduced click effect area to the chip shape
This commit is contained in:
parent
1056e60f96
commit
9322691565
@ -592,6 +592,9 @@ fun RefChip(
|
|||||||
) {
|
) {
|
||||||
Box(
|
Box(
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
|
.padding(horizontal = 4.dp)
|
||||||
|
.clip(RoundedCornerShape(16.dp))
|
||||||
|
.background(MaterialTheme.colors.primary)
|
||||||
.combinedClickable(
|
.combinedClickable(
|
||||||
onDoubleClick = onCheckoutRef,
|
onDoubleClick = onCheckoutRef,
|
||||||
onClick = {}
|
onClick = {}
|
||||||
@ -601,10 +604,7 @@ fun RefChip(
|
|||||||
items = contextMenuItemsList
|
items = contextMenuItemsList
|
||||||
) {
|
) {
|
||||||
Row(
|
Row(
|
||||||
modifier = modifier
|
modifier = modifier,
|
||||||
.padding(horizontal = 4.dp)
|
|
||||||
.clip(RoundedCornerShape(16.dp))
|
|
||||||
.background(MaterialTheme.colors.primary),
|
|
||||||
verticalAlignment = Alignment.CenterVertically,
|
verticalAlignment = Alignment.CenterVertically,
|
||||||
) {
|
) {
|
||||||
Icon(
|
Icon(
|
||||||
|
Loading…
Reference in New Issue
Block a user