mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-26 14:00:48 +00:00
panel: hide minimap panel if disabled
This commit is contained in:
committed by
Shagu
parent
12a5dab968
commit
061425d953
@@ -647,6 +647,8 @@ pfUI:RegisterModule("panel", function ()
|
|||||||
pfUI.panel.minimap.text:SetPoint("CENTER", 0, 0)
|
pfUI.panel.minimap.text:SetPoint("CENTER", 0, 0)
|
||||||
pfUI.panel.minimap.text:SetFontObject(GameFontWhite)
|
pfUI.panel.minimap.text:SetFontObject(GameFontWhite)
|
||||||
|
|
||||||
|
if C.panel.other.minimap == "none" then pfUI.panel.minimap:Hide() end
|
||||||
|
|
||||||
-- MicroButtons
|
-- MicroButtons
|
||||||
if C.panel.micro.enable == "1" then
|
if C.panel.micro.enable == "1" then
|
||||||
pfUI.panel.microbutton = CreateFrame("Frame", "pfPanelMicroButton", UIParent)
|
pfUI.panel.microbutton = CreateFrame("Frame", "pfPanelMicroButton", UIParent)
|
||||||
|
|||||||
Reference in New Issue
Block a user