mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
fix tabs
This commit is contained in:
@@ -267,18 +267,18 @@ end
|
||||
|
||||
local arrow
|
||||
function GetPlayerFacing()
|
||||
if not arrow then
|
||||
local obj = Minimap
|
||||
for i = 1, obj:GetNumChildren() do
|
||||
local child = select(i, obj:GetChildren())
|
||||
if child and child.GetModel and child:GetModel() == "Interface\\Minimap\\MinimapArrow" then
|
||||
arrow = child
|
||||
break
|
||||
end
|
||||
end
|
||||
end
|
||||
if not arrow then
|
||||
local obj = Minimap
|
||||
for i = 1, obj:GetNumChildren() do
|
||||
local child = select(i, obj:GetChildren())
|
||||
if child and child.GetModel and child:GetModel() == "Interface\\Minimap\\MinimapArrow" then
|
||||
arrow = child
|
||||
break
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
return arrow and arrow:GetFacing()
|
||||
return arrow and arrow:GetFacing()
|
||||
end
|
||||
|
||||
function ToggleFrame(frame)
|
||||
|
||||
Reference in New Issue
Block a user