4 ms·
Happy wife == happy life. I think the author handled it brilliantly. He only changes the saturation component to 1.0 only if it was zero and the user clicked o
by koliber 10y ago
Happy wife == happy life.
I think the author handled it brilliantly. He only changes the saturation component to 1.0 only if it was zero and the user clicked on the outer wheel. His reasoning is that clicking on the outer wheel is a leading indicator that the user will end up changing the saturation in order to see the effective color.
This way he anticipates the needs of users. I think it is a nice usability tweak with minimal negative effects.
- Drdrdrq 10y agoYes, except... What if saturation is 0.001? Or 0.01? Where is the limit? I don't have a better solution though.
- tejaswiy 10y agoThe reasoning there is if the saturation was at 0.001 someone made a conscious decision to put it at 0.001 and we shouldn't be messing with it.
- gumby 10y agoPresumably the initial (default) saturation is 0; any other value would have been specified by the user.
- koliber 10y agoI think anything but zero should preserve the standard behavior. The reason is that it is fairly easy to make the saturation zero. It takes a dedicated effort to make the saturation almost zero. I am not familiar with this particular color picker and the resolution on the saturation. I would imagine that setting the saturation to zero is easy by clicking on the triangle and dragging into the corner, in order to corral the picker into the point at which saturation is 0. Picking a close-to-zero saturation involves a dedicated effort.