Skip to content

Commit

Permalink
highlight chat when messages come in if minimised
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Nov 30, 2018
1 parent c211afb commit 0e4d75c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Themes/_fallback/BGAnimations/ScreenChatOverlay overlay.lua
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,17 @@ chat[#chat + 1] =
self:diffuse(Colors.bar)
self:diffusealpha(transparency)
self:stretchto(x, y, width + x, height + y)
end,
ChatMessageCommand = function(self)
if minimised then
self:linear(0.25)
self:diffuse(Colors.activeInput)
end
end,
MinimiseMessageCommand = function(self)
if not minimised then
self:diffuse(Colors.bar)
end
end
}
chat[#chat + 1] =
Expand Down

0 comments on commit 0e4d75c

Please sign in to comment.