File tree 3 files changed +2
-3
lines changed
app/src/main/java/com/commandiron/composeloading
compose-loading/src/main/java/com/commandiron/compose_loading
3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ fun ShowGrid(
130
130
.background(BattleshipGrey ),
131
131
contentAlignment = Alignment .Center
132
132
) {
133
- InstaSpinner ()
133
+ InstaSpinner (size = gridSize / 2 )
134
134
}
135
135
Box (
136
136
modifier = Modifier
Original file line number Diff line number Diff line change 1
1
package com.commandiron.compose_loading
2
2
3
- import androidx.annotation.IntRange
4
3
import androidx.compose.animation.core.*
5
4
import androidx.compose.foundation.layout.*
6
5
import androidx.compose.material3.MaterialTheme
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ fun InstaSpinner(
109
109
.size(size)
110
110
.rotate(rotateDegree.value)
111
111
){
112
- val rectSize = Size (width = this .size.width / 6 , height = this .size.height / 36 )
112
+ val rectSize = Size (width = this .size.width / 4 , height = this .size.height / 24 )
113
113
for (i in 0 until 8 ){
114
114
rotate(45f * i){
115
115
drawRect(
You can’t perform that action at this time.
0 commit comments