mirror of https://github.com/GNOME/gimp.git
app: fix offset handling in spiral gradients
In gimp:gradient, properly scale the "offset" property in spiral graidnets.
This commit is contained in:
parent
2e18a91916
commit
04280690b2
|
@ -777,6 +777,8 @@ gradient_calc_spiral_factor (gdouble dist,
|
|||
gdouble ang;
|
||||
double r;
|
||||
|
||||
offset = offset / 100.0;
|
||||
|
||||
ang0 = atan2 (axis[0], axis[1]) + G_PI;
|
||||
ang1 = atan2 (x, y) + G_PI;
|
||||
|
||||
|
|
Loading…
Reference in New Issue