Draw only the amount of musicwheel items needed. The MusicWheel is _slow_.

This commit is contained in:
Colby Klein
2011-02-27 19:45:05 -08:00
parent d9a195d4c2
commit 957cb50bb4
+1 -1
View File
@@ -162,7 +162,7 @@ ScrollBarOnCommand=visible,false
; self:rotationx( rotationx_radians * 180/math.pi ); --[[ to degrees end]] \
; end;
ItemTransformFunction=function(self,offsetFromCenter,itemIndex,numItems) self:x( (1-math.cos(offsetFromCenter/math.pi))*44 ); self:y( offsetFromCenter*46 ); end
NumWheelItems=13
NumWheelItems=11
MusicWheelSortOnCommand=fov,90;
MusicWheelSortOffCommand=fov,90;
MusicWheelItemSortOnCommand=zoomy,0;bounceend,0.15;zoomy,1