Verified Commit 7f25cd44 authored by Merathilis's avatar Merathilis

Change the expand chat button position a bit until @Simpy breaks it again >.>

parent e522d19e
......@@ -20,14 +20,13 @@ local hooksecurefunc = hooksecurefunc
function MERL:CreateChatButtons()
if E.db.mui.chat.chatButton ~= true or E.private.chat.enable ~= true then return end
-- Maybe add option to adjust how much the chat panel expands
E.db.mui.chat.expandPanel = 150
E.db.mui.chat.panelHeight = E.db.mui.chat.panelHeight or E.db.chat.panelHeight
local panelBackdrop = E.db.chat.panelBackdrop
local ChatButton = CreateFrame("Frame", "mUIChatButton", _G["LeftChatPanel"].backdrop)
ChatButton:ClearAllPoints()
ChatButton:SetPoint("TOPLEFT", _G["LeftChatPanel"].backdrop, "TOPLEFT", 4, -8)
ChatButton:SetPoint("TOPLEFT", _G["LeftChatPanel"].backdrop, "TOPLEFT", 2, -5)
ChatButton:SetSize(13, 13)
if E.db.chat.panelBackdrop == "HIDEBOTH" or E.db.chat.panelBackdrop == "LEFT" then
ChatButton:SetAlpha(0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment