Hi!

I've got a menu drawer, meaning the width tweens -> more elements
become visible once you mouseenter. The drawer closes automatically
after a short time, but if you mouseenter during the closing it
interrupts the close and opens again.

Now, at first I used link:cancel for the tween, this way the closing
is cancelled, however, it messes up the opening if the user fidgets
with the mouse and fires multiple mouseenters (the opening halts or
stutters until the mouseenters have been processed).
If I use link:ignore, the user can figdet all he wants and the opening
doesn't halt, but of course the closing won't be interrupted.

Solution: Switch from ignore to cancel when the closing begins.
However, this doesn't work, the effect doesn't carried out. I'm
guessing, I can't change "link" after the first tween ran?
Other possible solution: Accelerate the response time when a tween is
cancelled by another call of the exact same tween in the same
direction. - should I file a bug report or is there a good reason why
the tween should halt before it continues in the same direction..?

Thanks for any advice,
Ruben

Reply via email to