From 9386ddb1a95558e3ce050cb88e7c7122d754fdb8 Mon Sep 17 00:00:00 2001 From: Crum Date: Thu, 6 Dec 2018 22:36:19 -0600 Subject: [PATCH] remove Simple Chat option fix #60 --- ElvUI/Core/install.lua | 1 + ElvUI/Modules/Chat/Chat.lua | 2 +- ElvUI/Modules/Skins/Blizzard/Misc.lua | 6 ++++++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ElvUI/Core/install.lua b/ElvUI/Core/install.lua index aa06590..5e1c00a 100644 --- a/ElvUI/Core/install.lua +++ b/ElvUI/Core/install.lua @@ -212,6 +212,7 @@ local function SetupCVars() SetCVar("UberTooltips", 1) ALWAYS_SHOW_MULTIBARS = 1 LOCK_ACTIONBAR = 1 + SIMPLE_CHAT = 0 SetActionBarToggles(1, 0, 1, 1) TutorialFrame_HideAllAlerts() ClearTutorials() diff --git a/ElvUI/Modules/Chat/Chat.lua b/ElvUI/Modules/Chat/Chat.lua index d758ac6..4031a8a 100644 --- a/ElvUI/Modules/Chat/Chat.lua +++ b/ElvUI/Modules/Chat/Chat.lua @@ -455,7 +455,7 @@ function CH:PositionChat(override) if id ~= 2 then E:Size(chat, (E.db.chat.separateSizes and E.db.chat.panelWidthRight or E.db.chat.panelWidth) - 11, (E.db.chat.separateSizes and E.db.chat.panelHeightRight or E.db.chat.panelHeight) - BASE_OFFSET) else - E:Size(chat, E.db.chat.panelWidth - 11, (E.db.chat.panelHeight - BASE_OFFSET) - CombatLogQuickButtonFrame_Custom:GetHeight()) + E:Size(chat, E.db.chat.panelWidth - 11, (E.db.chat.panelHeight - BASE_OFFSET)) end tab:SetParent(RightChatPanel) diff --git a/ElvUI/Modules/Skins/Blizzard/Misc.lua b/ElvUI/Modules/Skins/Blizzard/Misc.lua index 377c654..c6e4af8 100644 --- a/ElvUI/Modules/Skins/Blizzard/Misc.lua +++ b/ElvUI/Modules/Skins/Blizzard/Misc.lua @@ -366,6 +366,12 @@ local function LoadSkin() -- Interface Options Checkboxes for _, value in UIOptionsFrameCheckButtons do local UIOptionsFrameCheckBox = _G["UIOptionsFrameCheckButton"..value.index] + if value.index == 7 then + E:Kill(UIOptionsFrameCheckBox) + end + if value.index == 8 then + E:Point(UIOptionsFrameCheckBox, "TOPLEFT", 10, -8) + end if UIOptionsFrameCheckBox then S:HandleCheckBox(UIOptionsFrameCheckBox) end