[gegl] dropshadow: add some reasonable ui step values to parameters
- From: Øyvind "pippin" Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] dropshadow: add some reasonable ui step values to parameters
- Date: Tue, 11 Dec 2018 20:45:33 +0000 (UTC)
commit 0449b85e389223e5e116240a270ea6a0e0bfc122
Author: thetoastcaper <thetoastcaper gmail com>
Date: Tue Sep 25 11:46:46 2018 -0400
dropshadow: add some reasonable ui step values to parameters
operations/common/dropshadow.c | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/operations/common/dropshadow.c b/operations/common/dropshadow.c
index 071f227e6..ef26b4003 100644
--- a/operations/common/dropshadow.c
+++ b/operations/common/dropshadow.c
@@ -25,18 +25,21 @@
property_double (x, _("X"), 20.0)
description (_("Horizontal shadow offset"))
ui_range (-40.0, 40.0)
+ ui_steps (1, 10)
ui_meta ("unit", "pixel-distance")
ui_meta ("axis", "x")
property_double (y, _("Y"), 20.0)
description (_("Vertical shadow offset"))
ui_range (-40.0, 40.0)
+ ui_steps (1, 10)
ui_meta ("unit", "pixel-distance")
ui_meta ("axis", "y")
property_double (radius, _("Blur radius"), 10.0)
value_range (0.0, G_MAXDOUBLE)
ui_range (0.0, 300.0)
+ ui_steps (1, 5)
ui_gamma (1.5)
ui_meta ("unit", "pixel-distance")
@@ -49,6 +52,7 @@ property_color (color, _("Color"), "black")
*/
property_double (opacity, _("Opacity"), 0.5)
value_range (0.0, 2.0)
+ ui_steps (0.01, 0.10)
#else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]