Only add background to anchor row during collapse
This commit is contained in:
parent
9a0c8771a1
commit
7c6c32486d
@ -126,7 +126,10 @@ fun CalendarMonthPage(
|
||||
if (rowHeightPx > 0) Modifier.height(with(density) { h.toDp() })
|
||||
else Modifier
|
||||
)
|
||||
.background(MaterialTheme.colorScheme.surface)
|
||||
.then(
|
||||
if (isAnchor) Modifier.background(MaterialTheme.colorScheme.surface)
|
||||
else Modifier
|
||||
)
|
||||
.offset(y = yOffsetDp)
|
||||
.then(
|
||||
if (weekIndex == 0 && rowHeightPx == 0) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user