Color editing popups use swatch label for title
This commit is contained in:
@@ -62,8 +62,6 @@ func RGBAToHSVA (r, g, b, a uint32) HSVA {
|
||||
// Adapted from:
|
||||
// https://www.cs.rit.edu/~ncs/color/t_convert.html
|
||||
|
||||
// FIXME: this does not always work!
|
||||
|
||||
component := func (x uint32) float64 {
|
||||
return clamp01(float64(x) / 0xFFFF)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user