mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-24 13:00:50 +00:00
thirdparty: abort on empty wim frames
This commit is contained in:
@@ -547,9 +547,12 @@ pfUI:RegisterModule("thirdparty-vanilla", "vanilla", function()
|
|||||||
|
|
||||||
-- wrap SkinCheckbox to fix issues with scrollframe breaking layers
|
-- wrap SkinCheckbox to fix issues with scrollframe breaking layers
|
||||||
local SkinScrollchildCheckbox = function(f, s)
|
local SkinScrollchildCheckbox = function(f, s)
|
||||||
|
if not f then return end
|
||||||
SkinCheckbox(f, s)
|
SkinCheckbox(f, s)
|
||||||
f.backdrop:SetParent(f:GetParent())
|
if f:GetParent() ~= f.backdrop and f:GetParent() ~= f then
|
||||||
f:SetParent(f.backdrop)
|
f.backdrop:SetParent(f:GetParent())
|
||||||
|
f:SetParent(f.backdrop)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
do -- general tab
|
do -- general tab
|
||||||
SkinTab(WIM_OptionsOptionTab1)
|
SkinTab(WIM_OptionsOptionTab1)
|
||||||
|
|||||||
Reference in New Issue
Block a user