@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.
- package/dist/logoeditor.cjs.development.js +5 -3
- package/dist/logoeditor.cjs.development.js.map +1 -1
- package/dist/logoeditor.cjs.production.min.js +1 -1
- package/dist/logoeditor.cjs.production.min.js.map +1 -1
- package/dist/logoeditor.esm.js +5 -3
- package/dist/logoeditor.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/logoeditor.esm.js
CHANGED
@@ -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
|
-
|
5447
|
-
|
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
|
}
|