mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-05 05:00:02 +00:00
addonbuttons: align to minimap scale if existing
* add blacklist for felwood gather
This commit is contained in:
@@ -25,7 +25,8 @@ pfUI:RegisterModule("addonbuttons", function ()
|
||||
"MiniMapBattlefieldFrame",
|
||||
"pfMinimapButton",
|
||||
"GatherNote",
|
||||
"MiniNotePOI"
|
||||
"MiniNotePOI",
|
||||
"FWGMinimapPOI",
|
||||
}
|
||||
|
||||
pfUI.addonbuttons = CreateFrame("Frame", "pfMinimapButtons", UIParent)
|
||||
@@ -158,6 +159,10 @@ pfUI:RegisterModule("addonbuttons", function ()
|
||||
|
||||
local function SetupMainFrame()
|
||||
pfUI.addonbuttons:ClearAllPoints()
|
||||
if pfUI.minimap then
|
||||
pfUI.addonbuttons:SetScale(pfUI.minimap:GetScale())
|
||||
end
|
||||
|
||||
pfUI.addonbuttons.minimapbutton:ClearAllPoints()
|
||||
if C.abuttons.position == "bottom" then
|
||||
pfUI.addonbuttons:SetWidth(pfUI.minimap:GetWidth())
|
||||
|
||||
Reference in New Issue
Block a user