Author: dean
Date: Sun Feb  3 21:59:51 2008
New Revision: 1767

URL: http://svn.slimdevices.com?rev=1767&root=Jive&view=rev
Log:
Very partial fix for bug 5356.  Add a little delay (500ms) before hiding big 
scroll letter to prevent it from flashing.

Modified:
    branches/7.0/jive/src/pkg/jive/share/jive/ui/Menu.lua

Modified: branches/7.0/jive/src/pkg/jive/share/jive/ui/Menu.lua
URL: 
http://svn.slimdevices.com/branches/7.0/jive/src/pkg/jive/share/jive/ui/Menu.lua?rev=1767&root=Jive&r1=1766&r2=1767&view=diff
==============================================================================
--- branches/7.0/jive/src/pkg/jive/share/jive/ui/Menu.lua (original)
+++ branches/7.0/jive/src/pkg/jive/share/jive/ui/Menu.lua Sun Feb  3 21:59:51 
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