~uriboni/unity-2d/clean-up-dash-dbus

Viewing all changes in revision 403.

  • Committer: Florian Boucault
  • Date: 2011-02-24 00:37:10 UTC
  • mfrom: (395.1.3 more_robust_intellihide)
  • Revision ID: florian@boucault.net-20110224003710-50bizvc98053f299
[launcher] Fixed cases where panel hiding was breaking:

- not slide in/out if delta was manually set to a value different from the start value of the animation
- not slide in/out immediately if a slide out/in was already in progress

These are solved by changes in Unity2dPanel:
- split up m_slideAnimation into 2 different animations, one for sliding in, one for sliding out.
- clamp delta to be between 0 and minus its size.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: