Commit 06d5ecf1 authored by Merathilis's avatar Merathilis

Cleanup

parent 495ff96a
......@@ -105,14 +105,14 @@ end
function module:RaidDifficulty()
if E.db.mui.maps.minimap.difficulty ~= true then return end
local RaidDifficulty = CreateFrame('Frame', nil, Minimap)
RaidDifficulty:SetSize(24, 8)
local pos = E.db.general.minimap.icons.difficulty.position or "TOPLEFT"
local x = E.db.general.minimap.icons.difficulty.xOffset or 0
local y = E.db.general.minimap.icons.difficulty.yOffset or 0
local RaidDifficulty = CreateFrame('Frame', nil, Minimap)
RaidDifficulty:SetSize(24, 8)
RaidDifficulty:SetPoint(pos, Minimap, pos, x, y)
RaidDifficulty:RegisterEvent('PLAYER_ENTERING_WORLD')
RaidDifficulty:RegisterEvent('CHALLENGE_MODE_START')
RaidDifficulty:RegisterEvent('CHALLENGE_MODE_COMPLETED')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment