if i == 1 then
frame.major[i]:SetPoint("TOPLEFT", frame.major, "TOPLEFT");
else
- frame.major[i]:SetPoint("TOPLEFT", frame.major[i-1], "TOPLEFT");
+ frame.major[i]:SetPoint("TOPLEFT", frame.major[i-1], "TOPRIGHT");
end
frame.major[i]:SetWidth(indSize*2);
frame.major[i]:SetHeight(indSize*2);
frame:RegisterEvent("UNIT_PET");
frame:RegisterEvent("PLAYER_ROLES_ASSIGNED");
frame:RegisterEvent("GROUP_ROSTER_UPDATE");
+ frame:RegisterEvent("PLAYER_ENTERING_WORLD");
registerEvents(frame);
frame:SetScript("OnUpdate", unitUpdate);
unitEvent(frame, "UPDATE_ALL_BARS", frame.displayed);