mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-05-18 07:51:46 +00:00
Reduce focus scaling on cards to prevent overflow
- Settings items: Disable scaling (1.0f) to prevent overflow - TMDB toggle cards: Disable scaling (1.0f) - Theme cards: Reduce from 1.05f to 1.02f - Content cards: Reduce from 1.05f to 1.02f - Continue watching cards: Reduce from 1.05f to 1.02f - Episode cards: Reduce from 1.05f to 1.02f
This commit is contained in:
parent
2ece9e544a
commit
76e49706d4
6 changed files with 8 additions and 6 deletions
|
|
@ -83,7 +83,7 @@ fun ContentCard(
|
|||
)
|
||||
),
|
||||
scale = CardDefaults.scale(
|
||||
focusedScale = 1.05f
|
||||
focusedScale = 1.02f
|
||||
)
|
||||
) {
|
||||
Box(
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@ private fun ContinueWatchingCard(
|
|||
)
|
||||
),
|
||||
scale = CardDefaults.scale(
|
||||
focusedScale = 1.05f
|
||||
focusedScale = 1.02f
|
||||
)
|
||||
) {
|
||||
Column {
|
||||
|
|
|
|||
|
|
@ -169,7 +169,7 @@ private fun EpisodeCard(
|
|||
)
|
||||
),
|
||||
scale = CardDefaults.scale(
|
||||
focusedScale = 1.05f
|
||||
focusedScale = 1.02f
|
||||
)
|
||||
) {
|
||||
Column {
|
||||
|
|
|
|||
|
|
@ -149,7 +149,8 @@ private fun SettingsItem(
|
|||
shape = RoundedCornerShape(12.dp)
|
||||
)
|
||||
),
|
||||
shape = CardDefaults.shape(RoundedCornerShape(12.dp))
|
||||
shape = CardDefaults.shape(RoundedCornerShape(12.dp)),
|
||||
scale = CardDefaults.scale(focusedScale = 1.0f)
|
||||
) {
|
||||
Row(
|
||||
modifier = Modifier
|
||||
|
|
|
|||
|
|
@ -123,7 +123,7 @@ private fun ThemeCard(
|
|||
)
|
||||
),
|
||||
shape = CardDefaults.shape(RoundedCornerShape(16.dp)),
|
||||
scale = CardDefaults.scale(focusedScale = 1.05f)
|
||||
scale = CardDefaults.scale(focusedScale = 1.02f)
|
||||
) {
|
||||
Column(
|
||||
modifier = Modifier
|
||||
|
|
|
|||
|
|
@ -182,7 +182,8 @@ private fun ToggleCard(
|
|||
shape = RoundedCornerShape(12.dp)
|
||||
)
|
||||
),
|
||||
shape = CardDefaults.shape(RoundedCornerShape(12.dp))
|
||||
shape = CardDefaults.shape(RoundedCornerShape(12.dp)),
|
||||
scale = CardDefaults.scale(focusedScale = 1.0f)
|
||||
) {
|
||||
Row(
|
||||
modifier = Modifier
|
||||
|
|
|
|||
Loading…
Reference in a new issue