fix copy and paste error
setting from because to is invalid is rather wrongicc-effect-5.14.5
parent
cd2eedd0f2
commit
c88742db98
|
@ -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],
|
to.set( relative[0] ? to[0] * area.width() : to[0],
|
||||||
relative[1] ? to[1] * area.height() : to[1] );
|
relative[1] ? to[1] * area.height() : to[1] );
|
||||||
} else {
|
} else {
|
||||||
from.set(w->width(), w->height());
|
to.set(w->width(), w->height());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue