@threedddplus/logoeditor 0.0.165 → 0.0.167
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 +6 -8
- 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 +6 -8
- package/dist/logoeditor.esm.js.map +1 -1
- package/package.json +1 -1
@@ -2594,7 +2594,6 @@ var fabricSlice = function fabricSlice(set, get) {
|
|
2594
2594
|
},
|
2595
2595
|
showContextMenu: false,
|
2596
2596
|
forStoringAllObject: function forStoringAllObject(data) {
|
2597
|
-
console.log(data.type);
|
2598
2597
|
//@ts-ignore
|
2599
2598
|
get().storeAllObject.unshift(data);
|
2600
2599
|
},
|
@@ -5262,7 +5261,6 @@ var initCanvas = function initCanvas() {
|
|
5262
5261
|
var onObjectSelected = function onObjectSelected(e) {
|
5263
5262
|
var _e$selected, _e$selected$;
|
5264
5263
|
var obj = e.selected[0];
|
5265
|
-
console.log(e, obj.type, obj.text);
|
5266
5264
|
if (e.selected.length > 1) {
|
5267
5265
|
return;
|
5268
5266
|
}
|
@@ -5615,7 +5613,6 @@ var initCanvas = function initCanvas() {
|
|
5615
5613
|
}
|
5616
5614
|
var colors = [];
|
5617
5615
|
use3dddPlus.getState().fabricCanvas.traverse(function (node) {
|
5618
|
-
console.log(node.fill);
|
5619
5616
|
if (node.type === "text" || node.type === "group" || node.type === "path") {
|
5620
5617
|
if (node.fill && (node.fill === 'rgb(0,0,0)' || node.fill === "#000" || node.fill === "#000000")) {
|
5621
5618
|
node.set({
|
@@ -6023,7 +6020,6 @@ var canvas = function canvas() {
|
|
6023
6020
|
canvas.setWidth(containerWidth);
|
6024
6021
|
//@ts-ignore
|
6025
6022
|
canvas.setHeight(parseInt(outerCanvasContainer.clientHeight));
|
6026
|
-
console.log('--->', canvas.getHeight(), canvas.getHeight());
|
6027
6023
|
canvas.setViewportTransform([zoom, 0, 0, zoom, 0, 0]);
|
6028
6024
|
canvas.renderAll();
|
6029
6025
|
}
|
@@ -9394,10 +9390,12 @@ var Properties = function Properties(_ref2) {
|
|
9394
9390
|
if (!activeText) {
|
9395
9391
|
return;
|
9396
9392
|
}
|
9397
|
-
|
9398
|
-
|
9399
|
-
|
9400
|
-
|
9393
|
+
//COMMENTED OUT FOR OUTLINE ISSUE WHILE TEXT IN PATH SHAPE
|
9394
|
+
// const currentSelection = activeText.type;
|
9395
|
+
/* if (currentSelection === 'path') {
|
9396
|
+
console.log("ds..");
|
9397
|
+
textShapeChange(textSelected.shapeType, true);
|
9398
|
+
}*/
|
9401
9399
|
if (activeText.type === 'text') {
|
9402
9400
|
activeText.set({
|
9403
9401
|
strokeWidth: parseFloat(e.target.value)
|