Skip to content

Commit

Permalink
add basemsd for new calc to calc display (since others are old)
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed May 7, 2020
1 parent ea2cad5 commit f0c9cc5
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Themes/Til Death/BGAnimations/_calcdisplay.lua
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,20 @@ o[#o + 1] = LoadFont("Common Normal") .. {
end
}

-- basemsd
o[#o + 1] = LoadFont("Common Large") .. {
InitCommand = function(self)
self:xy(-plotWidth/2 -5, plotHeight/2 + 20):halign(1):valign(0)
self:zoom(0.35)
self:settext("")
end,
DoTheThingCommand = function(self)
if song and enabled then
self:settextf("MSD:\n %.2f", steps:GetSSRs(getCurRateValue(), 0.93)[1] )
end
end
}


local dotWidth = 0
local function setOffsetVerts(vt, x, y, c)
Expand Down

0 comments on commit f0c9cc5

Please sign in to comment.