mc-react-structure-visualizer 0.4.1 → 0.4.2

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.
@@ -40,8 +40,9 @@ var StructureWindow = /*#__PURE__*/function (_React$Component) {
40
40
  mouseNoteText = "Interaction on";
41
41
  mouseNoteClass = "mouse-disabled-note on";
42
42
  }
43
- return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("div", {
44
- className: "structure-window-outer",
43
+ return /*#__PURE__*/_react["default"].createElement("div", {
44
+ className: "structure-window-outer"
45
+ }, /*#__PURE__*/_react["default"].createElement("div", {
45
46
  onClick: function onClick() {
46
47
  return _this.props.setMouseEnabledState(true);
47
48
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mc-react-structure-visualizer",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "author": "Kristjan Eimre <kristjan.eimre@epfl.ch>",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -20,11 +20,8 @@ class StructureWindow extends React.Component {
20
20
  mouseNoteClass = "mouse-disabled-note on";
21
21
  }
22
22
  return (
23
- <div>
24
- <div
25
- className="structure-window-outer"
26
- onClick={() => this.props.setMouseEnabledState(true)}
27
- >
23
+ <div className="structure-window-outer">
24
+ <div onClick={() => this.props.setMouseEnabledState(true)}>
28
25
  <div className={swClassName}>
29
26
  <Visualizer3dmol
30
27
  ref={this.props.visualizerRef}