mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-29 18:56:02 +00:00
chat: remove obsolete alwaysshow option
This commit is contained in:
@@ -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
@@ -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)
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user