chat-tweaks: repeat message on arrow up key
This commit is contained in:
@@ -35,7 +35,7 @@ Every of the listed features below, can be completely disabled in that menu in c
|
||||
*Copy website URLs from the chat, transforms CLINKs into real items and handles quest links.*
|
||||
|
||||
- **Chat Tweaks**
|
||||
*Allows to scroll using the mouse wheel and enables sticky chat channels.*
|
||||
*Allows to scroll using the mouse wheel, enables sticky chat channels and repeats message on arrow up.*
|
||||
|
||||
- **Darkened UI**
|
||||
*Turns the entire interface into darker colors.*
|
||||
|
||||
@@ -3,7 +3,7 @@ local scrollspeed = 1
|
||||
|
||||
local module = ShaguTweaks:register({
|
||||
title = "Chat Tweaks",
|
||||
description = "Allows to scroll using the mouse wheel and enables sticky chat channels.",
|
||||
description = "Allows to scroll using the mouse wheel, enables sticky chat channels and repeats message on arrow up.",
|
||||
enabled = true,
|
||||
})
|
||||
|
||||
@@ -34,6 +34,9 @@ module.enable = function(self)
|
||||
ChatTypeInfo.RAID_WARNING.sticky = 1
|
||||
ChatTypeInfo.CHANNEL.sticky = 1
|
||||
|
||||
-- repeat message without pressing <alt>
|
||||
ChatFrameEditBox:SetAltArrowKeyMode(false)
|
||||
|
||||
for i=1, NUM_CHAT_WINDOWS do
|
||||
-- enable mouse wheel scrolling
|
||||
_G["ChatFrame" .. i]:EnableMouseWheel(true)
|
||||
|
||||
Reference in New Issue
Block a user