diff --git a/stepmania/Themes/default/metrics.ini b/stepmania/Themes/default/metrics.ini index b28069cc99..127894b557 100644 --- a/stepmania/Themes/default/metrics.ini +++ b/stepmania/Themes/default/metrics.ini @@ -4417,23 +4417,19 @@ MeterSetCommand=%function(self,param) self:diffuse(DifficultyAndStepsTypeToColor ; a simple bar life meter: ; 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 native_height=32; \ local zoomed_width=28; \ local zoomed_height=9; \ local spacing_x=11.3; \ - self:zoomx(zoomed_width/native_width); \ - self:zoomy(zoomed_height/native_height); \ + self:zoomtoheight(zoomed_height); \ self:x((itemIndex-(numItems/2))*spacing_x); \ local zoomed_width=0; \ if (itemIndex % 2) == 0 then \ - zoomed_width=24; \ + self:zoomtowidth(24); \ self:rotationz(90); \ else \ - zoomed_width=31; \ + self:zoomtowidth(31); \ self:rotationz(-58); \ end; \ - self:zoomx(zoomed_width/native_width); \ end TextureCoordScaleX=10 NumPills=20