@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.
@@ -8459,7 +8459,7 @@ var Layers = function Layers(_ref) {
8459
8459
  }, React__default.createElement("img", {
8460
8460
  className: "rounded-lg p-2 " + (item.text ? 'object-contain' : ''),
8461
8461
  style: {
8462
- height: 'auto',
8462
+ height: '100%',
8463
8463
  width: 'auto',
8464
8464
  margin: 'auto'
8465
8465
  },
@@ -9186,11 +9186,11 @@ var Properties = function Properties(_ref2) {
9186
9186
  return textShapeChange(textSelected.shapeType, true);
9187
9187
  case 9:
9188
9188
  state = use3dddPlus.getState();
9189
+ state.updateModifaction(true);
9189
9190
  state.forIconCapture();
9190
- textSelected.icon = state.iconImage;
9191
+ textSelected.icon = use3dddPlus.getState().iconImage;
9191
9192
  canvas.requestRenderAll();
9192
9193
  reduceFontSize();
9193
- state.updateModifaction(true);
9194
9194
  case 15:
9195
9195
  case "end":
9196
9196
  return _context3.stop();
@@ -9214,7 +9214,7 @@ var Properties = function Properties(_ref2) {
9214
9214
  var state = use3dddPlus.getState();
9215
9215
  state.updateModifaction(true);
9216
9216
  state.forIconCapture();
9217
- textSelected.icon = state.iconImage;
9217
+ textSelected.icon = use3dddPlus.getState().iconImage;
9218
9218
  canvas.requestRenderAll();
9219
9219
  };
9220
9220
  var textOutlineHandler = function textOutlineHandler(e) {
@@ -9238,7 +9238,7 @@ var Properties = function Properties(_ref2) {
9238
9238
  var state = use3dddPlus.getState();
9239
9239
  state.updateModifaction(true);
9240
9240
  state.forIconCapture();
9241
- activeText.icon = state.iconImage;
9241
+ activeText.icon = use3dddPlus.getState().iconImage;
9242
9242
  activeText.canvas.requestRenderAll();
9243
9243
  }
9244
9244
  };