diff --git a/desktop/sources/scripts/picker.js b/desktop/sources/scripts/picker.js index c6e8ee2..1140aec 100644 --- a/desktop/sources/scripts/picker.js +++ b/desktop/sources/scripts/picker.js @@ -61,8 +61,8 @@ function Picker() let hex = `#${this.input.value}`; - dotgrid.tool.style().color = color; - dotgrid.tool.style().fill = dotgrid.tool.style().fill != "none" ? color : "none"; + dotgrid.tool.style().color = hex; + dotgrid.tool.style().fill = dotgrid.tool.style().fill != "none" ? hex : "none"; this.stop(); }