diff --git a/shared/src/commonMain/kotlin/com/bumble/livemosaic/composable/FlashCard.kt b/shared/src/commonMain/kotlin/com/bumble/livemosaic/composable/FlashCard.kt index a1421db2..91347835 100644 --- a/shared/src/commonMain/kotlin/com/bumble/livemosaic/composable/FlashCard.kt +++ b/shared/src/commonMain/kotlin/com/bumble/livemosaic/composable/FlashCard.kt @@ -44,7 +44,7 @@ fun FlashCard( modifier = Modifier .fillMaxSize() .graphicsLayer { - rotationY = 180f + scaleX = -1f } ) { back(modifier) diff --git a/shared/src/commonMain/kotlin/com/bumble/livemosaic/node/mosaic/MosaicNode.kt b/shared/src/commonMain/kotlin/com/bumble/livemosaic/node/mosaic/MosaicNode.kt index dfe09434..3f3fa7f3 100644 --- a/shared/src/commonMain/kotlin/com/bumble/livemosaic/node/mosaic/MosaicNode.kt +++ b/shared/src/commonMain/kotlin/com/bumble/livemosaic/node/mosaic/MosaicNode.kt @@ -16,7 +16,6 @@ import androidx.compose.foundation.layout.padding import androidx.compose.material3.Button import androidx.compose.material3.Text import androidx.compose.runtime.Composable -import androidx.compose.runtime.saveable.rememberSaveable import androidx.compose.ui.Alignment import androidx.compose.ui.Alignment.Companion.BottomCenter import androidx.compose.ui.Modifier @@ -44,7 +43,6 @@ import com.bumble.livemosaic.model.mosaic2Entries import com.bumble.livemosaic.model.mosaic3Entries import com.bumble.livemosaic.ui.LocalAutoPlayFlow import com.bumble.livemosaic.ui.appyx_dark -import com.bumble.livemosaic.ui.colors import kotlin.random.Random private val animationSpec = spring( @@ -84,8 +82,6 @@ class MosaicNode( override fun resolve(mosaicPiece: MosaicPiece, buildContext: BuildContext): Node = node(buildContext) { modifier -> - val colorIdx = rememberSaveable(mosaicPiece) { Random.nextInt(colors.size) } - Box( modifier = modifier .fillMaxWidth(1f / config.columns)