<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Android/colorpicker-compose.git/colorpicker-compose/src/commonTest, branch main</title>
<subtitle>Kotlin Multiplatform color picker library for getting colors from any images by tapping on the desired color (mirror)</subtitle>
<id>https://git.radix-linux.su/Android/colorpicker-compose.git/atom?h=main</id>
<link rel='self' href='https://git.radix-linux.su/Android/colorpicker-compose.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Android/colorpicker-compose.git/'/>
<updated>2026-09-16T09:09:24+00:00</updated>
<entry>
<title>Merge main into the desktop demo</title>
<updated>2026-09-16T09:09:24+00:00</updated>
<author>
<name>skydoves</name>
<email>skydoves2@gmail.com</email>
</author>
<published>2026-09-16T09:09:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Android/colorpicker-compose.git/commit/?id=b412754c65e7cbf76aa77401e7ce57324a7aeb0c'/>
<id>urn:sha1:b412754c65e7cbf76aa77401e7ce57324a7aeb0c</id>
<content type='text'>
Resolutions:
- Took main for the Spotless bump, the ktlint reformats, the version
  catalog and the wheel bitmap property, all of which landed separately.
- Kept the benchmark build type and the baselineProfile dependency on
  :demo:androidApp, which the baseline-profile workflow needs.
- ObserveColorChanges now uses rememberCoroutineScope as well, so the
  picker and the sliders collect the same way, and ColorPicker just
  delegates to it.
- Tests build the controller without a scope, and the ones that read a
  callback wait for idle first, since a color change now arrives on the
  composition's own scope rather than Dispatchers.Main.
</content>
</entry>
<entry>
<title>Fix pickers losing the color they were given</title>
<updated>2026-09-16T08:01:14+00:00</updated>
<author>
<name>skydoves</name>
<email>skydoves2@gmail.com</email>
</author>
<published>2026-09-16T07:33:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Android/colorpicker-compose.git/commit/?id=579bf557f32afd5381375c9ffa5881e96a059ab1'/>
<id>urn:sha1:579bf557f32afd5381375c9ffa5881e96a059ab1</id>
<content type='text'>
- The canvas size setter divided by a zero size on the first layout pass
  and produced Offset(NaN, NaN), which is Offset.Unspecified, so drawing
  the wheel threw whenever setup could not overwrite it.
- setup() now leaves the current selection alone when a picker registers
  itself again, which happens on every recomposition if the palette is
  built inline.
- HsvColorPicker replays initialColor so its value and alpha survive.
- selectByColor before the first layout is held and applied once the
  picker is ready instead of being dropped.
- wheelImageBitmap is kept in step with the controller and is snapshot
  state, so a new bitmap repaints.
</content>
</entry>
<entry>
<title>Add a test suite for the library</title>
<updated>2026-09-16T08:00:26+00:00</updated>
<author>
<name>skydoves</name>
<email>skydoves2@gmail.com</email>
</author>
<published>2026-09-16T07:27:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Android/colorpicker-compose.git/commit/?id=5b40aba1b64e058a90d1951efe36c2c9095fda12'/>
<id>urn:sha1:5b40aba1b64e058a90d1951efe36c2c9095fda12</id>
<content type='text'>
Wires up commonTest and desktopTest with kotlin-test and the Compose
multiplatform ui-test artifact, and covers the color math, the geometry
helpers, the controller, both pickers, the sliders and the alpha tile.
The web targets skip tests because ColorPickerController builds a Paint
eagerly and Kotlin/JS cannot load Skiko in a Node or headless run.

CI gains a job for them, and drops the branch filter on pull_request so
that a pull request stacked on another one gets checked too.
</content>
</entry>
</feed>
