small fix to the StreamDisplay's transform command. Pills no longer leave the 'boundaries' created by the frame.
This commit is contained in:
@@ -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 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) \
|
PillTransformFunction=function(self,offsetFromCenter,itemIndex,numItems) \
|
||||||
local zoomed_width=28; \
|
local zoomed_width=28; \
|
||||||
local zoomed_height=9; \
|
local zoomed_height=8; \
|
||||||
local spacing_x=11.3; \
|
local spacing_x=11.3; \
|
||||||
self:zoomtoheight(zoomed_height); \
|
self:zoomtoheight(zoomed_height); \
|
||||||
self:x((itemIndex-(numItems/2))*spacing_x); \
|
self:x((itemIndex-(numItems/2))*spacing_x); \
|
||||||
|
|||||||
Reference in New Issue
Block a user