Commit 3f9abf59 authored by Matthieu Saint Aubin's avatar Matthieu Saint Aubin Committed by Ivaria

Don't change panels strata while config panel is shown

It made all panels and their children have same strata, which make some widget with tooltip strata show behind other panels
parent bb88c7bb
......@@ -709,7 +709,9 @@ function VUHDO_fixFrameLevels(anIsForceUpdateChildren, aFrame, aBaseLevel, ...)
tOurLevel = aBaseLevel + 1 + (tChild["addLevel"] or 0);
if not tChild["vfl"] then
tChild:SetFrameStrata(aFrame:GetFrameStrata());
if not VUHDO_isConfigPanelShowing() then
tChild:SetFrameStrata(aFrame:GetFrameStrata());
end
tChild:SetFrameLevel(tOurLevel);
tChild["vfl"] = true;
VUHDO_fixFrameLevels(anIsForceUpdateChildren, tChild, tOurLevel, tChild:GetChildren());
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment