Skip to content

Commit

Permalink
little bit of lua tidy up taking care of a shortcut i forgot about
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed May 1, 2017
1 parent 3ad5aae commit 26d0f3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ function scoreBoard(pn,position)
end

-- stats stuff
devianceTable = pss:GetOffsetVector()
local devianceTable = pss:GetOffsetVector()
t[#t+1] = Def.Quad{InitCommand=cmd(xy,frameWidth+25,frameY+230;zoomto,frameWidth/2+10,60;halign,1;valign,0;diffuse,color("#333333CC"))};
local smallest,largest = wifeRange(devianceTable)
local doot = {"Mean", "Mean(Abs)", "Sd", "Smallest", "Largest"}
Expand Down
5 changes: 1 addition & 4 deletions Themes/Til Death/BGAnimations/offsetplot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,10 @@ for i=1, #fantabars do
end
-- Background
o[#o+1] = Def.Quad{InitCommand=cmd(zoomto,plotWidth+plotMargin,plotHeight+plotMargin;diffuse,color("0.05,0.05,0.05,0.05");diffusealpha,0.8)}
-- Convert noterows to timestamps
-- Convert noterows to timestamps and plot dots
local wuab = {}
for i=1,#nrt do
wuab[i] = td:GetElapsedTimeFromNoteRow(nrt[i])
end
-- Plot Dots
for i=1,#devianceTable do
o[#o+1] = plotOffset(wuab[i], dvt[i])
end
-- Early/Late markers
Expand Down

0 comments on commit 26d0f3a

Please sign in to comment.