mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-20 19:30:49 +00:00
skin: always open setting frames centered
This commit is contained in:
@@ -6,6 +6,11 @@ pfUI:RegisterSkin("Options-Sound", function ()
|
||||
CreateBackdrop(SoundOptionsFrame, nil, true, .75)
|
||||
EnableMovable(SoundOptionsFrame)
|
||||
|
||||
HookScript(SoundOptionsFrame, "OnShow", function()
|
||||
this:ClearAllPoints()
|
||||
this:SetPoint("CENTER", 0, 0)
|
||||
end)
|
||||
|
||||
local SoundOptionsFrameHeaderText = GetNoNameObject(SoundOptionsFrame, "FontString", "ARTWORK", SOUNDOPTIONS_MENU)
|
||||
SoundOptionsFrameHeaderText:ClearAllPoints()
|
||||
SoundOptionsFrameHeaderText:SetPoint("TOP", 0, -10)
|
||||
|
||||
Reference in New Issue
Block a user