File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
colorpicker/src/main/java/com/smarttoolfactory/colorpicker/slider Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import androidx.compose.runtime.Composable
1010import androidx.compose.ui.Alignment
1111import androidx.compose.ui.Modifier
1212import androidx.compose.ui.graphics.Brush
13+ import androidx.compose.ui.graphics.Color
1314import androidx.compose.ui.unit.dp
1415import com.smarttoolfactory.colorpicker.ui.brush.*
1516import com.smarttoolfactory.colorpicker.util.roundToTwoDigits
@@ -380,6 +381,7 @@ fun CheckeredColorfulSlider(
380381 coerceThumbInTrack = true ,
381382 colors = MaterialSliderDefaults .materialColors(
382383 activeTrackColor = SliderBrushColor (brush = brush),
384+ inactiveTrackColor = SliderBrushColor (color = Color .Transparent )
383385 ),
384386 drawInactiveTrack = false
385387 )
You can’t perform that action at this time.
0 commit comments