Utils.hsla(): use py.callSync

This commit is contained in:
miruka 2019-07-25 19:19:24 -04:00
parent 858c9f337d
commit 7e9106ee9c

View File

@ -3,7 +3,7 @@
function hsluv(hue, saturation, lightness, alpha=1.0) {
let rgb = py.call_sync("APP.backend.hsluv", [hue, saturation, lightness])
let rgb = py.callSync("hsluv", [hue, saturation, lightness])
return Qt.rgba(rgb[0], rgb[1], rgb[2], alpha)
}