mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-06 21:50:00 +00:00
skin: check width value before aligning to them
This commit is contained in:
+1
-1
@@ -24,7 +24,7 @@ pfUI:RegisterModule("skin", "vanilla:tbc", function ()
|
||||
return
|
||||
elseif center and center:IsShown() and left and left:IsShown() then
|
||||
local width = left.rightObj:GetRight()
|
||||
if width ~= UIParent.pfLeftAligned then
|
||||
if width and width ~= UIParent.pfLeftAligned then
|
||||
center:SetPoint("TOPLEFT", "UIParent", "TOPLEFT", width + 10, -104)
|
||||
UIParent.pfLeftAligned = width
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user