Author: fmueller
Date: Fri Feb 26 09:54:35 2010
New Revision: 8591
URL: http://svn.slimdevices.com/jive?rev=8591&view=rev
Log:
Bug: 15557
Description: Fix horizontal scrolling issue when menu widgets (labels) are not
snapped to grid (smooth scroll on Fab4)
Modified:
7.5/trunk/squeezeplay/src/squeezeplay/share/jive/ui/Menu.lua
Modified: 7.5/trunk/squeezeplay/src/squeezeplay/share/jive/ui/Menu.lua
URL:
http://svn.slimdevices.com/jive/7.5/trunk/squeezeplay/src/squeezeplay/share/jive/ui/Menu.lua?rev=8591&r1=8590&r2=8591&view=diff
==============================================================================
--- 7.5/trunk/squeezeplay/src/squeezeplay/share/jive/ui/Menu.lua (original)
+++ 7.5/trunk/squeezeplay/src/squeezeplay/share/jive/ui/Menu.lua Fri Feb 26
09:54:35 2010
@@ -38,6 +38,7 @@
local table = require("jive.utils.table")
local Framework = require("jive.ui.Framework")
+local System = require("jive.System")
local Event = require("jive.ui.Event")
local Widget = require("jive.ui.Widget")
local Label = require("jive.ui.Label")
@@ -1284,6 +1285,11 @@
function setPixelOffsetY(self, value)
self.pixelOffsetY = value
+ -- Bug: 15557 - If objects are not snapped to grid (smooth scroll on
Fab4)
+ -- dirty areas of labels with scrolling text are not always correct.
+ if System:getMachine() == "fab4" then
+ Framework:setPixelOffsetY( value)
+ end
end
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive-checkins