This commit is contained in:
Pinya
2018-07-18 15:06:20 +03:00
parent de74893739
commit c60324af12
52 changed files with 48 additions and 190 deletions
+2 -4
View File
@@ -3,15 +3,14 @@
local _G = _G
local print, tostring, select = print, tostring, select
local format = format
--WoW API / Variables
local CreateFrame = CreateFrame
--WoW API / Variables
local FrameStackTooltip_Toggle = FrameStackTooltip_Toggle
local GetMouseFocus = GetMouseFocus
local IsAddOnLoaded = IsAddOnLoaded
local LoadAddOn = LoadAddOn
--[[
Command to grab frame information when mouseing over a frame
Frame Name
Width
Height
@@ -29,7 +28,6 @@ SlashCmdList["FRAME"] = function(arg)
else
arg = GetMouseFocus()
end
if arg ~= nil then FRAME = arg end --Set the global variable FRAME to = whatever we are mousing over to simplify messing with frames that have no name.
if arg ~= nil and arg:GetName() ~= nil then
local point, relativeTo, relativePoint, xOfs, yOfs = arg:GetPoint()