feat: clip active DM indicator to bounds
This commit is contained in:
parent
100c06d8a5
commit
adc73df832
|
|
@ -60,6 +60,7 @@ import androidx.compose.ui.Alignment
|
|||
import androidx.compose.ui.Modifier
|
||||
import androidx.compose.ui.draw.alpha
|
||||
import androidx.compose.ui.draw.clip
|
||||
import androidx.compose.ui.draw.clipToBounds
|
||||
import androidx.compose.ui.draw.drawBehind
|
||||
import androidx.compose.ui.geometry.Offset
|
||||
import androidx.compose.ui.graphics.Brush
|
||||
|
|
@ -1009,6 +1010,7 @@ fun DMOrGroupItem(
|
|||
)
|
||||
.padding(vertical = 16.dp)
|
||||
.fillMaxWidth()
|
||||
.clipToBounds()
|
||||
.then(
|
||||
if (isMuted) {
|
||||
Modifier.alpha(0.5f)
|
||||
|
|
@ -1085,4 +1087,4 @@ fun DMOrGroupItem(
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue