From 516e5a70b386c36cd07bb8c7427e2cb5dec4a243 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Sun, 2 Aug 2015 23:18:18 +0400 Subject: [PATCH] Should fix positioning issues for chat --- ElvUI_SLE/modules/chat.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ElvUI_SLE/modules/chat.lua b/ElvUI_SLE/modules/chat.lua index d275cc1..2e1bdc0 100644 --- a/ElvUI_SLE/modules/chat.lua +++ b/ElvUI_SLE/modules/chat.lua @@ -80,7 +80,10 @@ end --Replacement of chat tab position and size function local PixelOff = E.PixelMode and 33 or 27 -local function PositionChat(override, noSave) +local function PositionChat(self, override, noSave) + if ((InCombatLockdown() and not override and self.initialMove) or (IsMouseButtonDown("LeftButton") and not override)) then return end + if not RightChatPanel or not LeftChatPanel then return; end + if not self.db.lockPositions or E.private.chat.enable ~= true then return end if not E.db.sle.datatext.chathandle then return end local BASE_OFFSET = 60 -- 1.7.9.5