@gpa-gemstone/react-graph 1.0.77 → 1.0.78

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.
Files changed (2) hide show
  1. package/lib/Plot.js +1 -1
  2. package/package.json +1 -1
package/lib/Plot.js CHANGED
@@ -166,7 +166,7 @@ var Plot = function (props) {
166
166
  //NOTE: zoom-horizontal really is zooming on the y-axis and zoom-vertical is zooming on the x-axis
167
167
  var showZoomButton = props.yDomain !== 'AutoValue' && ((_c = props.zoom) !== null && _c !== void 0 ? _c : true);
168
168
  var showHorizontalZoomButton = props.yDomain !== 'AutoValue' && (((_d = props.zoom) !== null && _d !== void 0 ? _d : true) || ((_e = props.yZoom) !== null && _e !== void 0 ? _e : true));
169
- var showVerticalZoomButton = (props.yDomain === 'AutoValue' || ((_f = props.zoom) !== null && _f !== void 0 ? _f : true)) && ((_g = props.xZoom) !== null && _g !== void 0 ? _g : true);
169
+ var showVerticalZoomButton = (props.yDomain === 'AutoValue' || ((_f = props.zoom) !== null && _f !== void 0 ? _f : true)) || ((_g = props.xZoom) !== null && _g !== void 0 ? _g : true);
170
170
  var showPan = props.pan === undefined || props.pan;
171
171
  var showReset = showPan || showZoomButton || showHorizontalZoomButton || showVerticalZoomButton;
172
172
  React.useEffect(function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gpa-gemstone/react-graph",
3
- "version": "1.0.77",
3
+ "version": "1.0.78",
4
4
  "description": "Interactive UI Components for GPA products",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",