n.prevSibling = p;
else
me.lastChild = p;
+ remove(other);
}
void AnimHost_removeAllAnim(entity me)
{
tmp = e;
e = tmp.prevSibling;
- me.removeAnim(me, tmp);
tmp.finishAnim(tmp);
}
}
{
tmp = e;
e = tmp.prevSibling;
- me.removeAnim(me, tmp);
tmp.finishAnim(tmp);
}
}
for(e = me.firstChild; e; e = e.nextSibling)
{
e.tick(e, time);
- }
- for(e = me.firstChild; e; e = e.nextSibling)
- {
if (e.isFinished(e))
{
tmp = e;
e = tmp.prevSibling;
me.removeAnim(me, tmp);
- remove(tmp);
}
}
}
void Slider_setValue(entity me, float val)
{
if (me.animated) {
- anim.stopObjAnim(anim, me);
anim.removeObjAnim(anim, me);
makeHostedEasing(me, Slider_setSliderValue, easingQuadInOut, 1, me.sliderValue, val);
} else {
if(me.disabled)
return 0;
- anim.finishObjAnim(anim, me);
+ anim.removeObjAnim(anim, me);
animed = me.animated;
me.animated = false;