fix copy and paste error
setting from because to is invalid is rather wrong
This commit is contained in:
parent
cd2eedd0f2
commit
c88742db98
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue