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
This commit is contained in:
j433866 2019-08-22 11:00:04 +01:00
parent a7938526aa
commit 19553dcfed

View File

@ -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"));
});
</script>`;
}