small fix to the StreamDisplay's transform command. Pills no longer leave the 'boundaries' created by the frame.

This commit is contained in:
Rob Campbell
2008-08-17 22:05:15 +00:00
parent 4972b20129
commit 04114173b0
+1 -1
View File
@@ -4522,7 +4522,7 @@ CursorP2HideCommand=linear,.3;diffusealpha,0
; PillTransformFunction=function(self,offsetFromCenter,itemIndex,numItems) local native_width=32; local zoomed_width=12; self:zoomx(zoomed_width/native_width); self:x((itemIndex-(numItems/2))*zoomed_width); end
PillTransformFunction=function(self,offsetFromCenter,itemIndex,numItems) \
local zoomed_width=28; \
local zoomed_height=9; \
local zoomed_height=8; \
local spacing_x=11.3; \
self:zoomtoheight(zoomed_height); \
self:x((itemIndex-(numItems/2))*spacing_x); \