From 31019d1ef5cbe6b76919ae22a7e5556282078dcc Mon Sep 17 00:00:00 2001 From: gallantron Date: Mon, 9 May 2022 21:50:02 +0200 Subject: [PATCH] set flyout button strata to DIALOG --- PallyPower.lua | 1 + PallyPower_TBC.xml | 2 +- PallyPower_Vanilla.xml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/PallyPower.lua b/PallyPower.lua index f7d0f7b..33d6fa0 100644 --- a/PallyPower.lua +++ b/PallyPower.lua @@ -2229,6 +2229,7 @@ function PallyPower:CreateLayout() for pbNum = 1, PALLYPOWER_MAXPERCLASS do local pButton = CreateFrame("Button", "PallyPowerC" .. cbNum .. "P" .. pbNum, UIParent, "SecureHandlerShowHideTemplate, SecureHandlerEnterLeaveTemplate, SecureActionButtonTemplate, PallyPowerPopupTemplate") pButton:SetParent(cButton) + pButton:SetFrameStrata("DIALOG") SecureHandlerSetFrameRef(cButton, "child", pButton) SecureHandlerExecute(cButton, [[ local child = self:GetFrameRef("child") diff --git a/PallyPower_TBC.xml b/PallyPower_TBC.xml index eae6495..783edbb 100644 --- a/PallyPower_TBC.xml +++ b/PallyPower_TBC.xml @@ -323,7 +323,7 @@ - -