Skip to content

Commit

Permalink
attang 4 stock sd on bf as falco
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Nov 29, 2018
1 parent eb51304 commit b9c41ce
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Themes/_fallback/Graphics/ScrollBar TickThumb.lua
Expand Up @@ -12,13 +12,15 @@ t[#t + 1] =
whee = SCREENMAN:GetTopScreen():GetMusicWheel()
end
end,
LeftClickMessageCommand = function(self)
MouseLeftClickMessageCommand = function(self)
if whee then
if SCREEN_WIDTH - INPUTFILTER:GetMouseX() < 32 then
local mx = SCREEN_WIDTH - INPUTFILTER:GetMouseX()
if mx < 32 and mx > 0 then
local idx = whee:GetCurrentIndex()
local num = whee:GetNumItems()
local dum = (INPUTFILTER:GetMouseY() - 45) / (SCREEN_HEIGHT - 103)
whee:Move(notShit.round(num * dum) - idx)
whee:Move(0)
end
end
end
Expand Down

0 comments on commit b9c41ce

Please sign in to comment.