@threedddplus/logoeditor 0.0.197 → 0.0.198

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.
@@ -8451,7 +8451,7 @@ var Layers = function Layers(_ref) {
8451
8451
  }, React.createElement("img", {
8452
8452
  className: "rounded-lg p-2 " + (item.text ? 'object-contain' : ''),
8453
8453
  style: {
8454
- height: 'auto',
8454
+ height: '100%',
8455
8455
  width: 'auto',
8456
8456
  margin: 'auto'
8457
8457
  },
@@ -9178,11 +9178,11 @@ var Properties = function Properties(_ref2) {
9178
9178
  return textShapeChange(textSelected.shapeType, true);
9179
9179
  case 9:
9180
9180
  state = use3dddPlus.getState();
9181
+ state.updateModifaction(true);
9181
9182
  state.forIconCapture();
9182
- textSelected.icon = state.iconImage;
9183
+ textSelected.icon = use3dddPlus.getState().iconImage;
9183
9184
  canvas.requestRenderAll();
9184
9185
  reduceFontSize();
9185
- state.updateModifaction(true);
9186
9186
  case 15:
9187
9187
  case "end":
9188
9188
  return _context3.stop();
@@ -9206,7 +9206,7 @@ var Properties = function Properties(_ref2) {
9206
9206
  var state = use3dddPlus.getState();
9207
9207
  state.updateModifaction(true);
9208
9208
  state.forIconCapture();
9209
- textSelected.icon = state.iconImage;
9209
+ textSelected.icon = use3dddPlus.getState().iconImage;
9210
9210
  canvas.requestRenderAll();
9211
9211
  };
9212
9212
  var textOutlineHandler = function textOutlineHandler(e) {
@@ -9230,7 +9230,7 @@ var Properties = function Properties(_ref2) {
9230
9230
  var state = use3dddPlus.getState();
9231
9231
  state.updateModifaction(true);
9232
9232
  state.forIconCapture();
9233
- activeText.icon = state.iconImage;
9233
+ activeText.icon = use3dddPlus.getState().iconImage;
9234
9234
  activeText.canvas.requestRenderAll();
9235
9235
  }
9236
9236
  };