addonbuttons: keep strata and increase frame level

This commit is contained in:
shagu
2025-08-14 19:02:23 +02:00
parent baad7e7135
commit 6eeabfd676
+1 -1
View File
@@ -36,7 +36,7 @@ pfUI:RegisterModule("addonbuttons", "vanilla:tbc", function ()
CreateBackdropShadow(pfUI.addonbuttons)
pfUI.addonbuttons.minimapbutton = CreateFrame("Button", "pfMinimapButton", pfUI.minimap or UIParent)
pfUI.addonbuttons.minimapbutton:SetFrameStrata("HIGH")
pfUI.addonbuttons.minimapbutton:SetFrameLevel(24)
pfUI.addonbuttons.minimapbutton:SetWidth(12)
pfUI.addonbuttons.minimapbutton:SetHeight(12)