From 1a07078affcf32c5a0981e37fe51a5320b331219 Mon Sep 17 00:00:00 2001 From: Lorenzo Natali Date: Mon, 24 Oct 2016 10:04:14 +0200 Subject: [PATCH] Fix #1185. (#1187) Removed limitations for band enhancement. Now the user can insert decimal values, without any limitation (except that the min have to be a lower value that the max). The values 0, 255 will only used as initial values (until not able to retrieve the limits from the original data). --- web/client/components/style/BandSelector.jsx | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/web/client/components/style/BandSelector.jsx b/web/client/components/style/BandSelector.jsx index 43e459bd12..59a7c1bc21 100644 --- a/web/client/components/style/BandSelector.jsx +++ b/web/client/components/style/BandSelector.jsx @@ -77,7 +77,7 @@ const BandSelector = React.createClass({ { this.props.contrast === "GammaValue" ? ( - this.props.onChange("min", v)} + this.props.onChange("min", v)} /> - this.props.onChange("max", v)} + this.props.onChange("max", v)} /> ) : null } );