mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-05 21:20:00 +00:00
modules: make all modules aware of the new borders
This commit is contained in:
+1
-6
@@ -1,12 +1,7 @@
|
||||
pfUI:RegisterModule("castbar", "vanilla:tbc", function ()
|
||||
local font = C.castbar.use_unitfonts == "1" and pfUI.font_unit or pfUI.font_default
|
||||
local font_size = C.castbar.use_unitfonts == "1" and C.global.font_unit_size or C.global.font_size
|
||||
|
||||
local default_border = C.appearance.border.default
|
||||
if C.appearance.border.unitframes ~= "-1" then
|
||||
default_border = C.appearance.border.unitframes
|
||||
end
|
||||
|
||||
local rawborder, default_border = GetBorderSize("unitframes")
|
||||
local cbtexture = pfUI.media[C.appearance.castbar.texture]
|
||||
|
||||
local function CreateCastbar(name, parent, unitstr, unitname)
|
||||
|
||||
Reference in New Issue
Block a user