Commit d9e1e4ba authored by Benik's avatar Benik

Fixed ElvUI Chat Datatext glitch when leaving flightMode

parent 8ba783f6
local BUI, E, L, V, P, G = unpack(select(2, ...))
local mod = BUI:NewModule('FlightMode', 'AceTimer-3.0', 'AceEvent-3.0');
local LO = E:GetModule('Layout')
local _G = _G
local GetTime = GetTime
......@@ -191,6 +192,7 @@ function mod:SetFlightMode(status)
LeftChatPanel.backdrop.wideshadow:SetFrameStrata('BACKGROUND') -- it loses its framestrata somehow. Needs digging
LeftChatPanel:ClearAllPoints()
LeftChatPanel:Point("BOTTOMLEFT", self.FlightMode.bottom, "TOPLEFT", 24, 24)
_G.LeftChatDataPanel:Hide()
end
-- Hide SquareMinimapButtonBar
......@@ -306,6 +308,8 @@ function mod:SetFlightMode(status)
LeftChatPanel.backdrop.wideshadow:Hide()
LeftChatPanel:ClearAllPoints()
LeftChatPanel:Point("BOTTOMLEFT", LeftChatMover, "BOTTOMLEFT")
LO:RepositionChatDataPanels()
LO:ToggleChatPanels()
end
-- Show SquareMinimapButtonBar
......
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