app: set GimpRectangleOptions highlight-opacity scale to 100

Set the scale of the GimpRectangleOptions highlight-opacity
spinscale to 100, so that the spinscale's range is 0-100, instead
of 0-1, like the rest of our opacity spinscales.
This commit is contained in:
Ell 2018-02-15 15:31:06 -05:00
parent 9e8e321d62
commit 7959c7bf61
1 changed files with 2 additions and 1 deletions

View File

@ -1047,7 +1047,8 @@ gimp_rectangle_options_gui (GimpToolOptions *tool_options)
GtkWidget *scale;
scale = gimp_prop_spin_scale_new (config, "highlight-opacity", NULL,
0.01, 0.1, 2);
0.01, 0.1, 0);
gimp_prop_widget_set_factor (scale, 100.0, 0.0, 0.0, 1);
frame = gimp_prop_expanding_frame_new (config, "highlight", NULL,
scale, NULL);