Explorar o código

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

j433866 %!s(int64=6) %!d(string=hai) anos
pai
achega
19553dcfed
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/core/operations/ParseColourCode.mjs

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