@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.
@@ -2586,7 +2586,6 @@ var fabricSlice = function fabricSlice(set, get) {
2586
2586
  },
2587
2587
  showContextMenu: false,
2588
2588
  forStoringAllObject: function forStoringAllObject(data) {
2589
- console.log(data.type);
2590
2589
  //@ts-ignore
2591
2590
  get().storeAllObject.unshift(data);
2592
2591
  },
@@ -5254,7 +5253,6 @@ var initCanvas = function initCanvas() {
5254
5253
  var onObjectSelected = function onObjectSelected(e) {
5255
5254
  var _e$selected, _e$selected$;
5256
5255
  var obj = e.selected[0];
5257
- console.log(e, obj.type, obj.text);
5258
5256
  if (e.selected.length > 1) {
5259
5257
  return;
5260
5258
  }
@@ -5607,7 +5605,6 @@ var initCanvas = function initCanvas() {
5607
5605
  }
5608
5606
  var colors = [];
5609
5607
  use3dddPlus.getState().fabricCanvas.traverse(function (node) {
5610
- console.log(node.fill);
5611
5608
  if (node.type === "text" || node.type === "group" || node.type === "path") {
5612
5609
  if (node.fill && (node.fill === 'rgb(0,0,0)' || node.fill === "#000" || node.fill === "#000000")) {
5613
5610
  node.set({
@@ -6015,7 +6012,6 @@ var canvas = function canvas() {
6015
6012
  canvas.setWidth(containerWidth);
6016
6013
  //@ts-ignore
6017
6014
  canvas.setHeight(parseInt(outerCanvasContainer.clientHeight));
6018
- console.log('--->', canvas.getHeight(), canvas.getHeight());
6019
6015
  canvas.setViewportTransform([zoom, 0, 0, zoom, 0, 0]);
6020
6016
  canvas.renderAll();
6021
6017
  }
@@ -9386,10 +9382,12 @@ var Properties = function Properties(_ref2) {
9386
9382
  if (!activeText) {
9387
9383
  return;
9388
9384
  }
9389
- var currentSelection = activeText.type;
9390
- if (currentSelection === 'path') {
9391
- textShapeChange(textSelected.shapeType, true);
9392
- }
9385
+ //COMMENTED OUT FOR OUTLINE ISSUE WHILE TEXT IN PATH SHAPE
9386
+ // const currentSelection = activeText.type;
9387
+ /* if (currentSelection === 'path') {
9388
+ console.log("ds..");
9389
+ textShapeChange(textSelected.shapeType, true);
9390
+ }*/
9393
9391
  if (activeText.type === 'text') {
9394
9392
  activeText.set({
9395
9393
  strokeWidth: parseFloat(e.target.value)