From 19553dcfedb51878e7b99f51d5cc0b504d1c47c5 Mon Sep 17 00:00:00 2001 From: j433866 Date: Thu, 22 Aug 2019 11:00:04 +0100 Subject: [PATCH] Fix parse colour code operation. The interactive part broke due to changes for multiple inputs. Now fires the inputChange event with a fake keyup event to autobake --- src/core/operations/ParseColourCode.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/operations/ParseColourCode.mjs b/src/core/operations/ParseColourCode.mjs index 5136f1a7..f24b1043 100644 --- a/src/core/operations/ParseColourCode.mjs +++ b/src/core/operations/ParseColourCode.mjs @@ -113,7 +113,7 @@ CMYK: ${cmyk} }).on('colorpickerChange', function(e) { var color = e.color.string('rgba'); document.getElementById('input-text').value = color; - window.app.autoBake(); + window.app.manager.input.debounceInputChange(new Event("keyup")); }); `; }