fix copy and paste error

setting from because to is invalid is rather wrong
This commit is contained in:
Thomas Lübking 2013-01-27 19:06:45 +01:00
parent 69b2804a12
commit 56cd3f8928

View file

@ -143,7 +143,7 @@ void AnimationEffect::animate( EffectWindow *w, Attribute a, uint meta, int ms,
to.set( relative[0] ? to[0] * area.width() : to[0],
relative[1] ? to[1] * area.height() : to[1] );
} else {
from.set(w->width(), w->height());
to.set(w->width(), w->height());
}