Skip to content

Commit

Permalink
move only one song if the mucicwheel is settled when using mouse scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Jun 1, 2017
1 parent 84e161d commit 32de0e2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Themes/Til Death/BGAnimations/_mousewheelscroll.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,19 @@ local function scrollInput(event)
moving = true
if pressingtab == true then
whee:Move(-3)
elseif whee:IsSettled() then
whee:Move(-1)
else
whee:Move(-2)
whee:Move(-2)
end
elseif event.DeviceInput.button == "DeviceButton_mousewheel down" and event.type == "InputEventType_FirstPress" and top:GetSelectionState() ~= 2 then
moving = true
if pressingtab == true then
whee:Move(3)
elseif whee:IsSettled() then
whee:Move(1)
else
whee:Move(2)
whee:Move(2)
end
elseif moving == true then
whee:Move(0)
Expand Down

0 comments on commit 32de0e2

Please sign in to comment.