chat: remove obsolete alwaysshow option

This commit is contained in:
shagu
2022-09-30 16:42:59 +02:00
parent 93eaf082a1
commit 81d5dafbd5
3 changed files with 1 additions and 3 deletions
-1
View File
@@ -637,7 +637,6 @@ function pfUI:LoadConfig()
pfUI:UpdateConfig("chat", "left", "width", "380")
pfUI:UpdateConfig("chat", "left", "height", "180")
pfUI:UpdateConfig("chat", "right", "enable", "0")
pfUI:UpdateConfig("chat", "right", "alwaysshow", "0")
pfUI:UpdateConfig("chat", "right", "width", "380")
pfUI:UpdateConfig("chat", "right", "height", "180")
pfUI:UpdateConfig("chat", "global", "hidecombat", "0")
+1 -1
View File
@@ -538,7 +538,7 @@ pfUI:RegisterModule("chat", "vanilla:tbc", function ()
pfUI.chat:SetScript("OnEvent", function()
pfUI.chat:RefreshChat()
FCF_DockUpdate()
if C.chat.right.enable == "0" and C.chat.right.alwaysshow == "0" then
if C.chat.right.enable == "0" then
pfUI.chat.right:Hide()
end
end)
-1
View File
@@ -2150,7 +2150,6 @@ pfUI:RegisterModule("gui", "vanilla:tbc", function ()
CreateConfig(nil, T["Left Chat Height"], C.chat.left, "height")
CreateConfig(nil, T["Right Chat Width"], C.chat.right, "width")
CreateConfig(nil, T["Right Chat Height"], C.chat.right, "height")
CreateConfig(nil, T["Enable Right Chat Window"], C.chat.right, "alwaysshow", "checkbox")
CreateConfig(nil, T["Hide Combat Log"], C.chat.global, "combathide", "checkbox")
CreateConfig(nil, T["Enable Chat Dock Background"], C.chat.global, "tabdock", "checkbox")
CreateConfig(nil, T["Only Show Chat Dock On Mouseover"], C.chat.global, "tabmouse", "checkbox")