Closed icpcbot1209 closed 1 year ago
I placed the picker and tried to change the cmyka input value manually. But this doesn't work. Everything else is fine, please let me know how to fix it.
const joe = colorjoe.rgb("hslPicker", "red", [ "alpha", "currentColor", ["fields", { space: "RGBA" }], ["fields", { space: "CMYKA", limit: 100, fix: 0 }], "hex", ]).on("change", function (color) { console.log("Selecting " + color.alpha()); }).update();
I think solving #55 handled this one. There was a slight math error.
I placed the picker and tried to change the cmyka input value manually. But this doesn't work. Everything else is fine, please let me know how to fix it.
const joe = colorjoe.rgb("hslPicker", "red", [ "alpha", "currentColor", ["fields", { space: "RGBA" }], ["fields", { space: "CMYKA", limit: 100, fix: 0 }], "hex", ]).on("change", function (color) { console.log("Selecting " + color.alpha()); }).update();