Skip to content

Commit

Permalink
set flyout button strata to DIALOG
Browse files Browse the repository at this point in the history
  • Loading branch information
gallantron committed May 9, 2022
1 parent 636282a commit 31019d1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions PallyPower.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion PallyPower_TBC.xml
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@
</Scripts>
</Button>

<Button name = "PallyPowerPopupTemplate" virtual = "true" frameStrata = "LOW">
<Button name = "PallyPowerPopupTemplate" virtual = "true" frameStrata = "DIALOG">
<Size>
<AbsDimension x = "100" y = "34"/>
</Size>
Expand Down
2 changes: 1 addition & 1 deletion PallyPower_Vanilla.xml
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@
</Scripts>
</Button>

<Button name = "PallyPowerPopupTemplate" virtual = "true" frameStrata = "LOW">
<Button name = "PallyPowerPopupTemplate" virtual = "true" frameStrata = "DIALOG">
<Size>
<AbsDimension x = "100" y = "34"/>
</Size>
Expand Down

0 comments on commit 31019d1

Please sign in to comment.