enyojs/moonstone — pull request #1160 by aarontam (2014-03-04 01:24:57+00:00)
Title: BHV-752: Undepress button when hidden.

Issue
-------
If there is one spottable `moon.Button` in the view and the `tap` event hides this button, when you 5-way select this button (causing it to hide) and programmatically unhide it, the `pressed` state of the button is still active.

Fix
----
When a `moon.Button` is hidden, we deactivate the `pressed` state if it is currently in that state.

Enyo-DCO-1.1-Signed-off-by: Aaron Tam