mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-17 10:10:50 +00:00
skin: always open setting frames centered
This commit is contained in:
@@ -5,6 +5,11 @@ pfUI:RegisterSkin("Options-Video", function ()
|
||||
CreateBackdrop(OptionsFrame, nil, nil, .75)
|
||||
EnableMovable(OptionsFrame)
|
||||
|
||||
HookScript(OptionsFrame, "OnShow", function()
|
||||
this:ClearAllPoints()
|
||||
this:SetPoint("CENTER", 0, 0)
|
||||
end)
|
||||
|
||||
OptionsFrameHeader:SetTexture("")
|
||||
local OptionsFrameHeaderText = GetNoNameObject(OptionsFrame, "FontString", "ARTWORK", VIDEOOPTIONS_MENU)
|
||||
OptionsFrameHeaderText:ClearAllPoints()
|
||||
|
||||
Reference in New Issue
Block a user