[Commits] r2373 - core/trunk/geoext/lib/GeoExt/widgets

commits at geoext.org commits at geoext.org
Tue Sep 21 08:26:56 CEST 2010


Author: fredj
Date: 2010-09-21 08:26:55 +0200 (Tue, 21 Sep 2010)
New Revision: 2373

Modified:
   core/trunk/geoext/lib/GeoExt/widgets/LayerOpacitySlider.js
Log:
fix indent, no functional change

Modified: core/trunk/geoext/lib/GeoExt/widgets/LayerOpacitySlider.js
===================================================================
--- core/trunk/geoext/lib/GeoExt/widgets/LayerOpacitySlider.js	2010-09-21 06:14:37 UTC (rev 2372)
+++ core/trunk/geoext/lib/GeoExt/widgets/LayerOpacitySlider.js	2010-09-21 06:26:55 UTC (rev 2373)
@@ -288,8 +288,8 @@
         if (this.layer) {
             value = value / (this.maxValue - this.minValue);
             if (this.inverse === true) {
-                value = 1-value;
-        }
+                value = 1 - value;
+            }
             this.layer.setOpacity(value);
         }
     },



More information about the Commits mailing list