mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-22 12:10:48 +00:00
skins: make all skins aware of the new borders
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
pfUI:RegisterSkin("Options - Interface", "tbc", function ()
|
||||
local border = tonumber(pfUI_config.appearance.border.default)
|
||||
local bpad = border > 1 and border - 1 or 1
|
||||
local rawborder, border = GetBorderSize()
|
||||
local bpad = rawborder > 1 and border - GetPerfectPixel() or GetPerfectPixel()
|
||||
|
||||
StripTextures(InterfaceOptionsFrame)
|
||||
CreateBackdrop(InterfaceOptionsFrame, nil, nil, .75)
|
||||
@@ -75,8 +75,8 @@ pfUI:RegisterSkin("Options - Interface", "tbc", function ()
|
||||
end)
|
||||
|
||||
pfUI:RegisterSkin("Options - Interface", "vanilla", function ()
|
||||
local border = tonumber(pfUI_config.appearance.border.default)
|
||||
local bpad = border > 1 and border - 1 or 1
|
||||
local rawborder, border = GetBorderSize()
|
||||
local bpad = rawborder > 1 and border - GetPerfectPixel() or GetPerfectPixel()
|
||||
|
||||
UIOptionsFrame:SetParent(UIParent)
|
||||
UIOptionsFrame:SetWidth(1024)
|
||||
|
||||
Reference in New Issue
Block a user