mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-29 18:56:02 +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:SetFontObject(GameFontWhite)
|
||||
|
||||
if C.panel.other.minimap == "none" then pfUI.panel.minimap:Hide() end
|
||||
|
||||
-- MicroButtons
|
||||
if C.panel.micro.enable == "1" then
|
||||
pfUI.panel.microbutton = CreateFrame("Frame", "pfPanelMicroButton", UIParent)
|
||||
|
||||
Reference in New Issue
Block a user