Author: titmuss
Date: Mon Feb  4 01:45:50 2008
New Revision: 1769

URL: http://svn.slimdevices.com?rev=1769&root=Jive&view=rev
Log:
 [EMAIL PROTECTED] (orig r1767):  dean | 2008-02-04 05:59:51 +0000
 Very partial fix for bug 5356.  Add a little delay (500ms) before hiding big 
scroll letter to prevent it from flashing.
 

Modified:
    trunk/   (props changed)
    trunk/jive/src/pkg/jive/share/jive/ui/Menu.lua

Propchange: trunk/
------------------------------------------------------------------------------
--- svk:merge (original)
+++ svk:merge Mon Feb  4 01:45:50 2008
@@ -1,3 +1,3 @@
-bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/7.0:1764
+bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/7.0:1767
 bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/SN:1083
 bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/scrolling:1378

Modified: trunk/jive/src/pkg/jive/share/jive/ui/Menu.lua
URL: 
http://svn.slimdevices.com/trunk/jive/src/pkg/jive/share/jive/ui/Menu.lua?rev=1769&root=Jive&r1=1768&r2=1769&view=diff
==============================================================================
--- trunk/jive/src/pkg/jive/share/jive/ui/Menu.lua (original)
+++ trunk/jive/src/pkg/jive/share/jive/ui/Menu.lua Mon Feb  4 01:45:50 2008
@@ -254,10 +254,16 @@
        obj.accelTimer = Timer(200,
                               function()
                                       obj.accel = false
-                                      obj.accelKey = nil
                                       obj:reLayout()
                               end,
                               true)
+                              
+       obj.accelKeyTimer = Timer(500,
+                                       function()
+                                       obj.accelKey = nil
+                                               obj:reLayout()  
+                                       end,
+                                       true)
 
        obj:addListener(EVENT_ALL,
                         function (event)
@@ -491,6 +497,7 @@
 
        if self.accel then
                self.accelTimer:restart()
+               self.accelKeyTimer:restart()
        else
                self.accelTimer:stop()
        end
@@ -664,8 +671,10 @@
 
        -- set selection and focus
        if nextSelected then
-               self.accelKey = self.accel and nextSelected:getAccelKey() or nil
-
+               if self.accel then
+                       self.accelKey = nextSelected:getAccelKey()
+               end
+               
                if self.locked then
                        nextSelected:setStyleModifier("locked")
                else

_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive-checkins

Reply via email to