Skip to content

Commit

Permalink
Fix lua ETTP chat input quad highlight
Browse files Browse the repository at this point in the history
  • Loading branch information
nico-abram committed Mar 30, 2018
1 parent e5f4a17 commit 96bf9c5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Themes/_fallback/BGAnimations/ScreenChatOverlay overlay.lua
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,9 @@ function input(event)
end
local update = false
if event.DeviceInput.button == "DeviceButton_left mouse button" then
if typing then
update = true
end
typing = false
local mx, my = INPUTFILTER:GetMouseX(), INPUTFILTER:GetMouseY()
if mx >= x and mx <= x+width and my >= moveY+y and my <= moveY+y+height then
Expand Down

0 comments on commit 96bf9c5

Please sign in to comment.