@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.
@@ -5451,11 +5451,13 @@ var initCanvas = function initCanvas() {
5451
5451
  use3dddPlus.getState().fabricCanvas.traverse(function (node) {
5452
5452
  if (node.type === 'text' || node.type === 'path') {
5453
5453
  if (node.fill && (node.fill === 'rgb(0,0,0)' || node.fill === '#000' || node.fill === '#000000')) {
5454
- node.set({
5455
- fill: '#040404'
5456
- });
5454
+ use3dddPlus.getState().fabricCanvas.remove(node);
5455
+ // node.set({
5456
+ // fill: '#ffff00',
5457
+ // });
5457
5458
  }
5458
5459
  }
5460
+
5459
5461
  if (node.stroke && node.type !== 'line' && node.strokeWidth !== 0 && node.stroke !== '' && !colors.includes(node.stroke) && node.stroke !== 'rgb(0,0,0)') {
5460
5462
  colors.push(node.stroke);
5461
5463
  }