@threedddplus/logoeditor 0.0.196 → 0.0.197

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.
@@ -5443,11 +5443,13 @@ var initCanvas = function initCanvas() {
5443
5443
  use3dddPlus.getState().fabricCanvas.traverse(function (node) {
5444
5444
  if (node.type === 'text' || node.type === 'path') {
5445
5445
  if (node.fill && (node.fill === 'rgb(0,0,0)' || node.fill === '#000' || node.fill === '#000000')) {
5446
- node.set({
5447
- fill: '#040404'
5448
- });
5446
+ use3dddPlus.getState().fabricCanvas.remove(node);
5447
+ // node.set({
5448
+ // fill: '#ffff00',
5449
+ // });
5449
5450
  }
5450
5451
  }
5452
+
5451
5453
  if (node.stroke && node.type !== 'line' && node.strokeWidth !== 0 && node.stroke !== '' && !colors.includes(node.stroke) && node.stroke !== 'rgb(0,0,0)') {
5452
5454
  colors.push(node.stroke);
5453
5455
  }