Stop breakdown opening when there's player data available at the window

This commit is contained in:
Tercio Jose
2023-07-24 20:53:04 -03:00
parent 762c80669d
commit 94ae59dfa9
3 changed files with 6 additions and 2 deletions
+4
View File
@@ -527,6 +527,10 @@ function detailsFramework:AddRoundedCornersToFrame(frame, preset)
frame = frame and frame.widget or frame
assert(frame and frame.GetObjectType and frame.SetPoint, "AddRoundedCornersToFrame(frame): frame must be a frame object.")
if (frame.__rcorners) then
return
end
if (frame.GetBackdropBorderColor) then
local red, green, blue, alpha = frame:GetBackdropBorderColor()
if (alpha and alpha > 0) then