@jbrowse/plugin-sequence 2.10.0 → 2.10.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.
@@ -87,7 +87,7 @@ function SequenceSVG({ regions, theme: configTheme, features = new Map(), showRe
87
87
  : null));
88
88
  }
89
89
  function Wrapper({ exportSVG, width, totalHeight, children, }) {
90
- return exportSVG ? (react_1.default.createElement(react_1.default.Fragment, null, children)) : (react_1.default.createElement("svg", { "data-testid": "sequence_track", width: width, height: totalHeight, style: { width, height: totalHeight } }, children));
90
+ return exportSVG ? (react_1.default.createElement(react_1.default.Fragment, null, children)) : (react_1.default.createElement("svg", { "data-testid": "sequence_track", width: width, height: totalHeight, style: { width, height: totalHeight, userSelect: 'none' } }, children));
91
91
  }
92
92
  const DivSequenceRendering = (0, mobx_react_1.observer)(function (props) {
93
93
  const { regions, bpPerPx } = props;
@@ -82,7 +82,7 @@ function SequenceSVG({ regions, theme: configTheme, features = new Map(), showRe
82
82
  : null));
83
83
  }
84
84
  function Wrapper({ exportSVG, width, totalHeight, children, }) {
85
- return exportSVG ? (React.createElement(React.Fragment, null, children)) : (React.createElement("svg", { "data-testid": "sequence_track", width: width, height: totalHeight, style: { width, height: totalHeight } }, children));
85
+ return exportSVG ? (React.createElement(React.Fragment, null, children)) : (React.createElement("svg", { "data-testid": "sequence_track", width: width, height: totalHeight, style: { width, height: totalHeight, userSelect: 'none' } }, children));
86
86
  }
87
87
  const DivSequenceRendering = observer(function (props) {
88
88
  const { regions, bpPerPx } = props;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/plugin-sequence",
3
- "version": "2.10.0",
3
+ "version": "2.10.2",
4
4
  "description": "JBrowse 2 sequence adapters, tracks, etc.",
5
5
  "keywords": [
6
6
  "jbrowse",
@@ -57,5 +57,5 @@
57
57
  "distModule": "esm/index.js",
58
58
  "srcModule": "src/index.ts",
59
59
  "module": "esm/index.js",
60
- "gitHead": "223d8bfb68fd1bacaf22852639ad5920f1b7f43b"
60
+ "gitHead": "7ca3b7db337ebd88853e2d96cdab940ed550c4fb"
61
61
  }