Author: tom
Date: Wed Feb 18 06:58:33 2009
New Revision: 4275
URL: http://svn.slimdevices.com/jive?rev=4275&view=rev
Log:
Bug: N/A
Description:
- Button - UP entirely manages the action response now, not PRESS
Modified:
7.4/trunk/squeezeplay/src/squeezeplay/share/jive/ui/Button.lua
Modified: 7.4/trunk/squeezeplay/src/squeezeplay/share/jive/ui/Button.lua
URL:
http://svn.slimdevices.com/jive/7.4/trunk/squeezeplay/src/squeezeplay/share/jive/ui/Button.lua?rev=4275&r1=4274&r2=4275&view=diff
==============================================================================
--- 7.4/trunk/squeezeplay/src/squeezeplay/share/jive/ui/Button.lua (original)
+++ 7.4/trunk/squeezeplay/src/squeezeplay/share/jive/ui/Button.lua Wed Feb 18
06:58:33 2009
@@ -64,7 +64,8 @@
end
if type == EVENT_MOUSE_PRESS then
- return action()
+ --only ever respond to the up, since it manages
the response now
+ return EVENT_CONSUME
end
--todo handle hold - will probably need a passed in
holdAction or pass back the state to action()
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive-checkins