From 32de0e293d28994f4e35221407252ceabcb40d03 Mon Sep 17 00:00:00 2001 From: MinaciousGrace Date: Wed, 31 May 2017 23:40:59 -0400 Subject: [PATCH] move only one song if the mucicwheel is settled when using mouse scroll --- Themes/Til Death/BGAnimations/_mousewheelscroll.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Themes/Til Death/BGAnimations/_mousewheelscroll.lua b/Themes/Til Death/BGAnimations/_mousewheelscroll.lua index be111b3b1a..55a7223686 100644 --- a/Themes/Til Death/BGAnimations/_mousewheelscroll.lua +++ b/Themes/Til Death/BGAnimations/_mousewheelscroll.lua @@ -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)