Skip to content

Commit

Permalink
Add ssr/msd graph toggling to debug stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
poco0317 committed May 5, 2020
1 parent 36d641e commit 0c7aac5
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions Themes/Til Death/BGAnimations/_calcdisplay.lua
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ local function bottomGraphLineMSD(mod, colorToUse, hand)
self:SetVertices({})
self:SetDrawState {Mode = "DrawMode_Quads", First = 1, Num = 0}

self:visible(true)
self:visible(not ssrGraphActive)

local verts = {}
local values = graphVecs[mod][hand]
Expand All @@ -694,6 +694,11 @@ local function bottomGraphLineMSD(mod, colorToUse, hand)
else
self:visible(false)
end
end,
UpdateActiveLowerGraphMessageCommand = function(self)
if song and enabled then
self:visible(not ssrGraphActive)
end
end
}
end
Expand All @@ -708,7 +713,7 @@ local function bottomGraphLineSSR(lineNum, colorToUse)
self:SetVertices({})
self:SetDrawState {Mode = "DrawMode_Quads", First = 1, Num = 0}

self:visible(true)
self:visible(ssrGraphActive)
local verts = {}

for i = 1, #ssrs[lineNum] do
Expand All @@ -724,6 +729,11 @@ local function bottomGraphLineSSR(lineNum, colorToUse)
else
self:visible(false)
end
end,
UpdateActiveLowerGraphMessageCommand = function(self)
if song and enabled then
self:visible(ssrGraphActive)
end
end
}
end
Expand Down

0 comments on commit 0c7aac5

Please sign in to comment.