Author: richard
Date: Wed Feb 18 08:15:19 2009
New Revision: 4279
URL: http://svn.slimdevices.com/jive?rev=4279&view=rev
Log:
r4...@harrypotter (orig r4275): tom | 2009-02-18 14:58:33 +0000
Bug: N/A
Description:
- Button - UP entirely manages the action response now, not PRESS
Modified:
7.4/branches/pango/ (props changed)
7.4/branches/pango/squeezeplay/src/squeezeplay/share/jive/ui/Button.lua
Propchange: 7.4/branches/pango/
------------------------------------------------------------------------------
--- svk:merge (original)
+++ svk:merge Wed Feb 18 08:15:19 2009
@@ -4,7 +4,7 @@
bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/7.2/trunk:2921
bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/7.3/private-branches/jive-refresh:3653
bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/7.3/trunk:4138
-bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/7.4/trunk:4268
+bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/7.4/trunk:4275
bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/7.0:2013
bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/SN:1083
bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/scrolling:1378
Modified:
7.4/branches/pango/squeezeplay/src/squeezeplay/share/jive/ui/Button.lua
URL:
http://svn.slimdevices.com/jive/7.4/branches/pango/squeezeplay/src/squeezeplay/share/jive/ui/Button.lua?rev=4279&r1=4278&r2=4279&view=diff
==============================================================================
--- 7.4/branches/pango/squeezeplay/src/squeezeplay/share/jive/ui/Button.lua
(original)
+++ 7.4/branches/pango/squeezeplay/src/squeezeplay/share/jive/ui/Button.lua Wed
Feb 18 08:15:19 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