[gimp] libgimp: fix range of "opacity" parameter in brush-select callback



commit 3d0606a9be874f54b345225838565217fa031981
Author: Ell <ell_se yahoo com>
Date:   Thu Mar 5 20:34:44 2020 +0200

    libgimp: fix range of "opacity" parameter in brush-select callback

 libgimp/gimpbrushselect.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libgimp/gimpbrushselect.c b/libgimp/gimpbrushselect.c
index dcfdaa4f42..5274cde569 100644
--- a/libgimp/gimpbrushselect.c
+++ b/libgimp/gimpbrushselect.c
@@ -94,7 +94,7 @@ gimp_brush_select_new (const gchar          *title,
   GIMP_PROC_ARG_DOUBLE (procedure, "opacity",
                         "Opacity",
                         NULL,
-                        0.0, 1.0, 1.0,
+                        0.0, 100.0, 100.0,
                         G_PARAM_READWRITE);
 
   GIMP_PROC_ARG_INT (procedure, "spacing",


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