X-Git-Url: https://www.aleksib.fi/git/wowui.git/blobdiff_plain/674e0c047004a7f514ee4c991e09603bcee96432..eeb41892047047322da96e7d6c6b006496b04010:/OmaRF/RaidFrame.lua diff --git a/OmaRF/RaidFrame.lua b/OmaRF/RaidFrame.lua index 078280d..cb2c3a2 100644 --- a/OmaRF/RaidFrame.lua +++ b/OmaRF/RaidFrame.lua @@ -57,7 +57,7 @@ local function setupIndicators(frame) 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); @@ -90,6 +90,7 @@ local function frameShow(frame) 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);