kitchen-simulator 2.0.50 → 2.0.51

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.
@@ -838,7 +838,7 @@ var Project = /*#__PURE__*/function () {
838
838
  width = convert(width).from('in').to('cm');
839
839
  height = convert(height).from('in').to('cm');
840
840
  var layerID = state.scene.selectedLayer;
841
- Item.setInitialDoorStyle(state, doorStyle);
841
+ state = Item.setInitialDoorStyle(state, doorStyle).updatedState;
842
842
  if (isEmpty(viewer)) return {
843
843
  updatedState: state
844
844
  };
@@ -847,7 +847,7 @@ var Project = exports["default"] = /*#__PURE__*/function () {
847
847
  width = (0, _convertUnitsLite.convert)(width).from('in').to('cm');
848
848
  height = (0, _convertUnitsLite.convert)(height).from('in').to('cm');
849
849
  var layerID = state.scene.selectedLayer;
850
- _export2.Item.setInitialDoorStyle(state, doorStyle);
850
+ state = _export2.Item.setInitialDoorStyle(state, doorStyle).updatedState;
851
851
  if ((0, _helper.isEmpty)(viewer)) return {
852
852
  updatedState: state
853
853
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kitchen-simulator",
3
- "version": "2.0.50",
3
+ "version": "2.0.51",
4
4
  "description": "It is a kitchen simulator (self-contained micro-frontend).",
5
5
  "license": "MIT",
6
6
  "main": "lib/index.js",