keyboardsurfer/Crouton — pull request #57 by coreform (2012-12-15 16:44:06+00:00)
Title: Bugfix for crouton.cancel()

Prior to this fix, Manager.removeCroutonImmediately(Crouton crouton) would only remove currently showing Crouton if another instance of it existed in queue.

This fix helps my use-case whereby an 'undo' button is in Crouton, User presses on 'undo' button and Crouton needs to disappear immediately.

Also noticed that courton.isShowing() returns false in removeCroutonImmediately() even if it really is showing...strange...maybe croutonView object becomes out of sync with reality?