mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
remove temp folder structure
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
local E, L, DF = unpack(ElvUI); --Import: Engine, Locales, PrivateDB, ProfileDB, GlobalDB
|
||||
local B = E:GetModule("Blizzard");
|
||||
|
||||
--Cache global variables
|
||||
--Lua functions
|
||||
local _G = _G
|
||||
--WoW API / Variables
|
||||
|
||||
function B:PositionDurabilityFrame()
|
||||
DurabilityFrame:SetFrameStrata("HIGH")
|
||||
|
||||
local function SetPosition(self, _, parent)
|
||||
if parent == "MinimapCluster" or parent == _G["MinimapCluster"] then
|
||||
self:ClearAllPoints()
|
||||
self:SetPoint("RIGHT", Minimap, "RIGHT")
|
||||
self:SetScale(0.6)
|
||||
end
|
||||
end
|
||||
|
||||
hooksecurefunc(DurabilityFrame, "SetPoint", SetPosition)
|
||||
end
|
||||
Reference in New Issue
Block a user