Bug Tracker

Opened 10 years ago

Closed 9 years ago

#5023 closed enhancement (worksforme)

hide should also hide partially finished animations

Reported by: rudimenter Owned by:
Priority: major Milestone: 1.4
Component: effects Version: 1.3.2
Keywords: hide animate animation fx event Cc:
Blocked by: Blocking:

Description

Hi

When i call hide for an Object which is in the middle of the animation process so i am fully aware of this.

It seems so that you can only hide objects with are finished with their animation.

Of course you could use the call back event of animate and check a flag on the end to go in hidden state bu why so complicate.

My proposal: If hide is called for an object in animation state. Set this object immediatelly to its endstate and then apply "hide" on it.

Change History (1)

comment:1 Changed 9 years ago by dmethvin

Resolution: worksforme
Status: newclosed

Just .stop() the animation first.

Note: See TracTickets for help on using tickets.