[gegl] operations: opacity in the dropshadow op should be in the 0..1 range, not -2..2



commit 807dd4fbb88954aee1578080fcc820b709cc1d39
Author: Alexandre Prokoudine <alexandre prokoudine gmail com>
Date:   Mon May 14 05:24:32 2012 +0400

    operations: opacity in the dropshadow op should be in the 0..1 range, not -2..2

 operations/common/dropshadow.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/operations/common/dropshadow.c b/operations/common/dropshadow.c
index a9785cb..893e1b6 100644
--- a/operations/common/dropshadow.c
+++ b/operations/common/dropshadow.c
@@ -22,7 +22,7 @@
 
 #ifdef GEGL_CHANT_PROPERTIES
 
-gegl_chant_double (opacity, _("Opacity"), -2.0, 2.0, 0.5, _("Opacity"))
+gegl_chant_double (opacity, _("Opacity"), 0, 1.0, 0.5, _("Opacity"))
 gegl_chant_double_ui (x, _("X"), -G_MAXDOUBLE, G_MAXDOUBLE, 20.0, -20.0, 20.0, 1.0,
                    _("Horizontal shadow offset"))
 gegl_chant_double_ui (y, _("Y"), -G_MAXDOUBLE, G_MAXDOUBLE, 20.0, -20.0, 20.0, 1.0,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]