Bug 793276 - Make jitter scale run to 5 instead of 50

Limit the scale's range to [0..5] while keeping it possible to set
jutter as large as the old maximum of 50.
This commit is contained in:
Michael Natterer 2018-02-12 12:51:23 +01:00
parent fd37737fe4
commit a86eee6ae9
1 changed files with 1 additions and 0 deletions

View File

@ -394,6 +394,7 @@ jitter_options_gui (GimpPaintOptions *paint_options,
scale = gimp_prop_spin_scale_new (config, "jitter-amount", NULL,
0.01, 1.0, 2);
gimp_spin_scale_set_scale_limits (GIMP_SPIN_SCALE (scale), 0.0, 5.0);
frame = gimp_prop_expanding_frame_new (config, "use-jitter", NULL,
scale, NULL);