@jbrowse/plugin-sv-inspector 2.15.3 → 2.16.0

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.
@@ -166,7 +166,7 @@ function SvInspectorViewF(pluginManager) {
166
166
  * #action
167
167
  */
168
168
  setHeight(newHeight) {
169
- self.height = newHeight > minHeight ? newHeight : minHeight;
169
+ self.height = Math.max(newHeight, minHeight);
170
170
  return self.height;
171
171
  },
172
172
  /**
@@ -161,7 +161,7 @@ function SvInspectorViewF(pluginManager) {
161
161
  * #action
162
162
  */
163
163
  setHeight(newHeight) {
164
- self.height = newHeight > minHeight ? newHeight : minHeight;
164
+ self.height = Math.max(newHeight, minHeight);
165
165
  return self.height;
166
166
  },
167
167
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/plugin-sv-inspector",
3
- "version": "2.15.3",
3
+ "version": "2.16.0",
4
4
  "description": "JBrowse 2 SV inspector view",
5
5
  "keywords": [
6
6
  "jbrowse",
@@ -57,5 +57,5 @@
57
57
  "publishConfig": {
58
58
  "access": "public"
59
59
  },
60
- "gitHead": "c0f82fe7b210622dd462e702641cc6da01109c6e"
60
+ "gitHead": "1e6d4fbc27ce684eed19e3c217f34bd2da24ab75"
61
61
  }