@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.
@@ -6402,11 +6402,16 @@ var PopUpCanvas = function PopUpCanvas() {
6402
6402
  }, [defaultColorFill]);
6403
6403
  useEffect(function () {
6404
6404
  if (colorFill && Object.keys(colorFill).length) {
6405
+ console.log('colorFill-->', colorFill);
6405
6406
  if (colorFillCount === -1) {
6406
6407
  setColorFillCount(Object.keys(colorFill).length);
6407
6408
  var defaultCF = [];
6408
6409
  Object.keys(colorFill).map(function (cf) {
6409
6410
  var _defaultColorFill$fin;
6411
+ console.log('cf-->', colorFill[cf]);
6412
+ if (colorFill[cf] === '#000000') {
6413
+ colorFill[cf] = "#000001";
6414
+ }
6410
6415
  defaultCF.push({
6411
6416
  property: cf,
6412
6417
  "default": colorFill[cf],
@@ -6416,6 +6421,7 @@ var PopUpCanvas = function PopUpCanvas() {
6416
6421
  })) == null ? void 0 : _defaultColorFill$fin.objects
6417
6422
  });
6418
6423
  });
6424
+ console.log('defaultCF-->', defaultCF);
6419
6425
  setDefaultColorFill(defaultCF);
6420
6426
  }
6421
6427
  if (isRefresh) {