From 7e9106ee9c36bd6ea03579703501a5bebaeef89b Mon Sep 17 00:00:00 2001 From: miruka Date: Thu, 25 Jul 2019 19:19:24 -0400 Subject: [PATCH] Utils.hsla(): use py.callSync --- src/qml/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qml/utils.js b/src/qml/utils.js index f521b7d1..fa69f82a 100644 --- a/src/qml/utils.js +++ b/src/qml/utils.js @@ -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) }