chat-tweaks: repeat message on arrow up key

This commit is contained in:
shagu
2021-09-29 18:05:27 +02:00
parent 9591137181
commit 14a61be26c
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -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.*
+4 -1
View File
@@ -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)