Skip to content

Commit 739fca2

Browse files
speed up mousewheeling a bit
1 parent 346fa5f commit 739fca2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Themes/Til Death/BGAnimations/_mousewheelscroll.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@ local function scrollInput(event)
1414
elseif event.DeviceInput.button == "DeviceButton_mousewheel up" and event.type == "InputEventType_FirstPress" and top:GetSelectionState() ~= 2 then
1515
moving = true
1616
if pressingtab == true then
17-
whee:Move(-2)
17+
whee:Move(-3)
1818
else
19-
whee:Move(-1)
19+
whee:Move(-2)
2020
end
2121
elseif event.DeviceInput.button == "DeviceButton_mousewheel down" and event.type == "InputEventType_FirstPress" and top:GetSelectionState() ~= 2 then
2222
moving = true
2323
if pressingtab == true then
24-
whee:Move(2)
24+
whee:Move(3)
2525
else
26-
whee:Move(1)
26+
whee:Move(2)
2727
end
2828
elseif moving == true then
2929
whee:Move(0)

0 commit comments

Comments
 (0)