Fix an uninitialized-variable warning, and fixes gradients

This commit is contained in:
Hysterical Raisins
2019-07-07 18:45:56 +02:00
parent c393eb20be
commit ae5eaeec93

View File

@ -246,7 +246,9 @@ render_key_outline (EekRenderer *renderer,
border_color.alpha = foreground.alpha;
}
eek_element_get_bounds(EEK_ELEMENT(key), &bounds);
outline = eek_outline_copy (outline);
for (guint i = 0; i < outline->num_points; i++) {
outline->points[i].x *= priv->scale;
outline->points[i].y *= priv->scale;