Skip to content

Commit

Permalink
always eat mousewheel input on the chat window
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Nov 28, 2018
1 parent 15cab85 commit 5dc5da3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Themes/_fallback/BGAnimations/ScreenChatOverlay overlay.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5dc5da3

Please sign in to comment.