Commit 04280690 authored by Ell's avatar Ell

app: fix offset handling in spiral gradients

In gimp:gradient, properly scale the "offset" property in spiral
graidnets.
parent 2e18a919
Pipeline #118656 passed with stages
in 14 minutes and 43 seconds
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment