From dbf7f31fc105af159b73a8c751fd5352a170925b Mon Sep 17 00:00:00 2001 From: Darthpred Date: Mon, 12 Nov 2012 23:52:38 +0400 Subject: [PATCH] Chat size tweak for pp (needs testing) I could very well forget to tweak a certan tab or something --- ElvUI_SLE/modules/chat/chat.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ElvUI_SLE/modules/chat/chat.lua b/ElvUI_SLE/modules/chat/chat.lua index 2219e57..5768c34 100644 --- a/ElvUI_SLE/modules/chat/chat.lua +++ b/ElvUI_SLE/modules/chat/chat.lua @@ -85,9 +85,9 @@ function CH:PositionChat(override) end if id ~= 2 then - chat:SetSize(E.db.chat.panelWidth - 10, (E.db.chat.panelHeight - 27)) -- <<< Changed + chat:SetSize(E.db.chat.panelWidth - 10, (E.db.chat.panelHeight - (E.PixelMode and 31 or 27))) -- <<< Changed else - chat:Size(E.db.chat.panelWidth - 10, (E.db.chat.panelHeight - 27) - CombatLogQuickButtonFrame_Custom:GetHeight()) + chat:Size(E.db.chat.panelWidth - 10, (E.db.chat.panelHeight - (E.PixelMode and 31 or 27)) - CombatLogQuickButtonFrame_Custom:GetHeight()) end FCF_SavePositionAndDimensions(chat) @@ -117,7 +117,7 @@ function CH:PositionChat(override) BASE_OFFSET = BASE_OFFSET - 24 chat:Point("BOTTOMLEFT", LeftChatToggleButton, "TOPLEFT", 5, 3) end - chat:Size(E.db.chat.panelWidth - 6, (E.db.chat.panelHeight - 27)) -- <<< Changed + chat:Size(E.db.chat.panelWidth - 6, (E.db.chat.panelHeight - (E.PixelMode and 31 or 27))) -- <<< Changed FCF_SavePositionAndDimensions(chat) end chat:SetParent(LeftChatPanel) -- 1.7.9.5