kitchen-simulator 2.0.20 → 2.0.21
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.
|
@@ -797,14 +797,6 @@ export default function Viewer2D(_ref, _ref2) {
|
|
|
797
797
|
break;
|
|
798
798
|
}
|
|
799
799
|
}
|
|
800
|
-
if (!isEmpty(elementPrototype)) {
|
|
801
|
-
var elementID = state.getIn(['scene', 'layers', layerID, 'selected', elementPrototype]).first();
|
|
802
|
-
var currentObject = state.getIn(['scene', 'layers', layerID, elementPrototype, elementID]);
|
|
803
|
-
onInternalEvent === null || onInternalEvent === void 0 || onInternalEvent({
|
|
804
|
-
type: internalType,
|
|
805
|
-
value: currentObject === null || currentObject === void 0 ? void 0 : currentObject.toJS()
|
|
806
|
-
});
|
|
807
|
-
}
|
|
808
800
|
viewerEvent.originalEvent.stopPropagation();
|
|
809
801
|
};
|
|
810
802
|
var onMouseDown = function onMouseDown(viewerEvent) {
|
|
@@ -807,14 +807,6 @@ function Viewer2D(_ref, _ref2) {
|
|
|
807
807
|
break;
|
|
808
808
|
}
|
|
809
809
|
}
|
|
810
|
-
if (!(0, _helper.isEmpty)(elementPrototype)) {
|
|
811
|
-
var elementID = state.getIn(['scene', 'layers', layerID, 'selected', elementPrototype]).first();
|
|
812
|
-
var currentObject = state.getIn(['scene', 'layers', layerID, elementPrototype, elementID]);
|
|
813
|
-
onInternalEvent === null || onInternalEvent === void 0 || onInternalEvent({
|
|
814
|
-
type: internalType,
|
|
815
|
-
value: currentObject === null || currentObject === void 0 ? void 0 : currentObject.toJS()
|
|
816
|
-
});
|
|
817
|
-
}
|
|
818
810
|
viewerEvent.originalEvent.stopPropagation();
|
|
819
811
|
};
|
|
820
812
|
var onMouseDown = function onMouseDown(viewerEvent) {
|