Unnamed
public lua v1 · immutablefunction Bartender:LoadPosition(arg1) local x = self.db.profile[arg1:GetName()].PosX local y = self.db.profile[arg1:GetName()].PosY if ((not x) or (not y)) then return end local s = arg1:GetEffectiveScale() x,y = x/s,y/s ghost = getglobal(arg1:GetName().."Ghost") arg1:ClearAllPoints() arg1:SetPoint("BOTTOMLEFT", UIParent, "BOTTOMLEFT", x, y) ghost:ClearAllPoints() ghost:SetPoint("BOTTOMLEFT", UIParent, "BOTTOMLEFT", x, y)end