mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
The Color Picker's hex field was rebuilt from the colour every frame, so anything short of six valid digits was thrown away and it stayed at 000000. It now shows what is being typed while it has focus. The Lab and CMYK fields applied every keystroke through clamped sRGB, so typing "60" into L went through L = 6 first and changed a and b. The dialog now keeps the typed Lab or CMYK values while they still produce the colour, as it already did for HSB. The Color panel's Hue and Saturation fields (Studio and Classic themes) reset to 0 on black and greys; they now keep the typed values. parse_hex no longer panics on multi-byte text.