From 3213b311aa7fa12d475b725bcd8076ca3d0d29bd Mon Sep 17 00:00:00 2001 From: shagu Date: Sat, 18 Apr 2020 12:50:15 +0200 Subject: [PATCH] xpbar: set default spacing to 3x border size --- modules/xpbar.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/xpbar.lua b/modules/xpbar.lua index 1498ce5a..765f12a3 100644 --- a/modules/xpbar.lua +++ b/modules/xpbar.lua @@ -36,7 +36,7 @@ pfUI:RegisterModule("xpbar", "vanilla:tbc", function () b:SetHeight(height) b:SetFrameStrata("BACKGROUND") - AlignToPosition(b, _G[anchor], position) + AlignToPosition(b, _G[anchor], position, default_border*3) CreateBackdrop(b) CreateBackdropShadow(b) @@ -80,7 +80,7 @@ pfUI:RegisterModule("xpbar", "vanilla:tbc", function () b:RegisterEvent("UPDATE_FACTION") b:SetScript("OnEvent", function() -- realign when entering world to ensure all frames got loaded - AlignToPosition(b, _G[anchor], position) + AlignToPosition(b, _G[anchor], position, default_border*3) -- set either experience, reputation or flex-rep handler local mode = ( t == "XP" and UnitLevel("player") < MAX_LEVEL ) and "XP" or t == "REP" and "REP" or "FLEX"