diff --git a/colorpicker-compose/src/main/kotlin/com/github/skydoves/colorpicker/compose/ColorPickerController.kt b/colorpicker-compose/src/main/kotlin/com/github/skydoves/colorpicker/compose/ColorPickerController.kt index 1373b58..2c6e2f7 100644 --- a/colorpicker-compose/src/main/kotlin/com/github/skydoves/colorpicker/compose/ColorPickerController.kt +++ b/colorpicker-compose/src/main/kotlin/com/github/skydoves/colorpicker/compose/ColorPickerController.kt @@ -134,7 +134,11 @@ public class ColorPickerController { } paletteBitmap = resized.asImageBitmap() copiedBitmap.recycle() - selectCenter(fromUser = false) + if (isHsvColorPalette) { + selectByColor(_selectedColor.value, false) + } else { + selectCenter(fromUser = false) + } reviseTick.intValue++ }