Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Changed condition to !isInvisible

Jason Hurleydde46e2ca633
diff --git a/web/js/components/sidebar/paletteLegend.js b/web/js/components/sidebar/paletteLegend.js
index 6b29fa7a3..d8668038a 100644
--- a/web/js/components/sidebar/paletteLegend.js
+++ b/web/js/components/sidebar/paletteLegend.js
@@ -49,7 +49,7 @@ class PaletteLegend extends React.Component {
};
this.onMouseEnter = this.onMouseEnter.bind(this);
this.hideValue = this.hideValue.bind(this);
- this.onHoverColorbar = this.onHoverColorbar.bind(this);
+ // this.onHoverColorbar = this.onHoverColorbar.bind(this);
this.onMove = this.onMove.bind(this);
}
@@ -442,7 +442,7 @@ class PaletteLegend extends React.Component {
</div>
)}
- {isVisible && (
+ {!isInvisible && (
<Tooltip
id="center-align-tooltip"
placement={singleKey ? 'right' : 'bottom'}