diff options
Diffstat (limited to 'plugins/shotwell-transitions/CircleEffect.vala')
-rw-r--r-- | plugins/shotwell-transitions/CircleEffect.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/shotwell-transitions/CircleEffect.vala b/plugins/shotwell-transitions/CircleEffect.vala index 862a578..b03d8fb 100644 --- a/plugins/shotwell-transitions/CircleEffect.vala +++ b/plugins/shotwell-transitions/CircleEffect.vala @@ -47,7 +47,7 @@ private class CircleEffect : Object, Transitions.Effect { public void paint(Transitions.Visuals visuals, Transitions.Motion motion, Cairo.Context ctx, int width, int height, int frame_number) { double alpha = motion.get_alpha(frame_number); - int radius = (int)((alpha) * Math.fmax(width,height)); + int radius = (int)(alpha * Math.fmax(width,height)); if (visuals.from_pixbuf != null) { Gdk.cairo_set_source_pixbuf(ctx, visuals.from_pixbuf, visuals.from_pos.x, |