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
|
local arrow
|
||||||
function GetPlayerFacing()
|
function GetPlayerFacing()
|
||||||
if not arrow then
|
if not arrow then
|
||||||
local obj = Minimap
|
local obj = Minimap
|
||||||
for i = 1, obj:GetNumChildren() do
|
for i = 1, obj:GetNumChildren() do
|
||||||
local child = select(i, obj:GetChildren())
|
local child = select(i, obj:GetChildren())
|
||||||
if child and child.GetModel and child:GetModel() == "Interface\\Minimap\\MinimapArrow" then
|
if child and child.GetModel and child:GetModel() == "Interface\\Minimap\\MinimapArrow" then
|
||||||
arrow = child
|
arrow = child
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
return arrow and arrow:GetFacing()
|
return arrow and arrow:GetFacing()
|
||||||
end
|
end
|
||||||
|
|
||||||
function ToggleFrame(frame)
|
function ToggleFrame(frame)
|
||||||
|
|||||||
Reference in New Issue
Block a user