@threedddplus/logoeditor 0.0.226 → 0.0.228

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6410,11 +6410,16 @@ var PopUpCanvas = function PopUpCanvas() {
6410
6410
  }, [defaultColorFill]);
6411
6411
  React.useEffect(function () {
6412
6412
  if (colorFill && Object.keys(colorFill).length) {
6413
+ console.log('colorFill-->', colorFill);
6413
6414
  if (colorFillCount === -1) {
6414
6415
  setColorFillCount(Object.keys(colorFill).length);
6415
6416
  var defaultCF = [];
6416
6417
  Object.keys(colorFill).map(function (cf) {
6417
6418
  var _defaultColorFill$fin;
6419
+ console.log('cf-->', colorFill[cf]);
6420
+ if (colorFill[cf] === '#000000') {
6421
+ colorFill[cf] = "#000001";
6422
+ }
6418
6423
  defaultCF.push({
6419
6424
  property: cf,
6420
6425
  "default": colorFill[cf],
@@ -6424,6 +6429,7 @@ var PopUpCanvas = function PopUpCanvas() {
6424
6429
  })) == null ? void 0 : _defaultColorFill$fin.objects
6425
6430
  });
6426
6431
  });
6432
+ console.log('defaultCF-->', defaultCF);
6427
6433
  setDefaultColorFill(defaultCF);
6428
6434
  }
6429
6435
  if (isRefresh) {