summaryrefslogtreecommitdiff
path: root/plugins/shotwell-transitions
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-10-29 23:25:59 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-10-29 23:25:59 +0200
commit6944ad9f9346341ee0fd120ec3ed0b7b56406436 (patch)
treeae59422da384a9463c306e1983be5ac46ff97c7d /plugins/shotwell-transitions
parent803e11e1c311a7ba4923d8d438eafa7ff62b463d (diff)
parent72e3d4c55a6569d966059f762824c38d06055871 (diff)
Merge tag 'upstream/0.25.0'
Upstream version 0.25.0
Diffstat (limited to 'plugins/shotwell-transitions')
-rw-r--r--plugins/shotwell-transitions/CircleEffect.vala2
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,