Skip to content

Commit

Permalink
1.0.4
Browse files Browse the repository at this point in the history
Bug fix.
  • Loading branch information
esatgozcu committed Jul 30, 2023
1 parent 7bfbc78 commit 2185a56
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.runtime.remember
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.geometry.Size
import androidx.compose.ui.unit.dp
Expand Down Expand Up @@ -37,7 +38,8 @@ fun NumberWheel(visibleNumber: Int = 0, size: Size, vm: RollingNumberVM){
)
})

Column(Modifier.offset(y = itemTarget.value.dp)
Column(Modifier.offset(y = itemTarget.value.dp),
horizontalAlignment = Alignment.CenterHorizontally
) {
repeat(numbers.count()){
SingleNumberElement(number = numbers[it],size, vm)
Expand Down

0 comments on commit 2185a56

Please sign in to comment.