From 5dc5da301333b6fe3c82c39369af99f5564d7f98 Mon Sep 17 00:00:00 2001 From: "born a rick, raised a morty, died a jerry" Date: Wed, 28 Nov 2018 03:40:52 -0500 Subject: [PATCH] always eat mousewheel input on the chat window --- Themes/_fallback/BGAnimations/ScreenChatOverlay overlay.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Themes/_fallback/BGAnimations/ScreenChatOverlay overlay.lua b/Themes/_fallback/BGAnimations/ScreenChatOverlay overlay.lua index 5e3d5c239f..a81debf04a 100644 --- a/Themes/_fallback/BGAnimations/ScreenChatOverlay overlay.lua +++ b/Themes/_fallback/BGAnimations/ScreenChatOverlay overlay.lua @@ -415,16 +415,16 @@ function input(event) if isOver(chatbg) then if lineNumber < #messages then lineNumber = lineNumber + 1 - update = true end + update = true end end if event.DeviceInput.button == "DeviceButton_mousewheel down" and event.type == "InputEventType_FirstPress" then if isOver(chatbg) then if lineNumber > maxlines then lineNumber = lineNumber - 1 - update = true end + update = true end end