0.2.86
This commit is contained in:
@@ -64,7 +64,7 @@ val projectNoticeText =
|
|||||||
|
|
||||||
// A release workflow can derive the app version from its Git tag without editing the
|
// A release workflow can derive the app version from its Git tag without editing the
|
||||||
// source tree. Local builds keep using the checked-in default.
|
// source tree. Local builds keep using the checked-in default.
|
||||||
val defaultVersionName = "0.2.85"
|
val defaultVersionName = "0.2.86"
|
||||||
val membyVersionName: String =
|
val membyVersionName: String =
|
||||||
(project.findProperty("memby.versionName") as String?)
|
(project.findProperty("memby.versionName") as String?)
|
||||||
?.trim()
|
?.trim()
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ import androidx.compose.ui.Alignment
|
|||||||
import androidx.compose.ui.ExperimentalComposeUiApi
|
import androidx.compose.ui.ExperimentalComposeUiApi
|
||||||
import androidx.compose.ui.Modifier
|
import androidx.compose.ui.Modifier
|
||||||
import androidx.compose.ui.draw.clip
|
import androidx.compose.ui.draw.clip
|
||||||
|
import androidx.compose.ui.draw.clipToBounds
|
||||||
import androidx.compose.ui.draw.drawBehind
|
import androidx.compose.ui.draw.drawBehind
|
||||||
import androidx.compose.ui.draw.shadow
|
import androidx.compose.ui.draw.shadow
|
||||||
import androidx.compose.ui.focus.FocusRequester
|
import androidx.compose.ui.focus.FocusRequester
|
||||||
@@ -1803,7 +1804,14 @@ internal fun MediaRow(
|
|||||||
// can dispose that item during a focus transfer and make Compose
|
// can dispose that item during a focus transfer and make Compose
|
||||||
// release the same pin twice. LazyListState already preserves the
|
// release the same pin twice. LazyListState already preserves the
|
||||||
// row position; native TV spatial search safely handles row changes.
|
// row position; native TV spatial search safely handles row changes.
|
||||||
modifier = Modifier.fillMaxWidth().focusGroup(),
|
// A horizontal lazy list clips along its scroll axis, but focused cards
|
||||||
|
// also draw from a scaled layer in the vertical axis. Its measured height
|
||||||
|
// already contains artwork, title and secondary metadata; clip that
|
||||||
|
// complete unit here so the outgoing card cannot paint into another row.
|
||||||
|
modifier = Modifier
|
||||||
|
.fillMaxWidth()
|
||||||
|
.clipToBounds()
|
||||||
|
.focusGroup(),
|
||||||
) {
|
) {
|
||||||
itemsIndexed(
|
itemsIndexed(
|
||||||
row.items,
|
row.items,
|
||||||
|
|||||||
Reference in New Issue
Block a user