Commit 6df13d57 authored by Elv's avatar Elv

Allow test nameplate to be movable

parent b908763a
......@@ -196,14 +196,13 @@ do --this can save some main file locals
["Tirain-Spirestone"] = MrHankey,
["Sinth-Spirestone"] = MrHankey,
--I will forever have the picture you accidently shared of the manikin wearing a strapon in your bedroom burned in my brain
--I will forever have the picture you accidently shared of the manikin wearing a strapon burned in my brain
["Misdîrect-Spirestone"] = ElvRainbow,
["Misoracle-Spirestone"] = ElvRainbow,
["MisLight-Spirestone"] = ElvRainbow,
["MisDivine-Spirestone"] = ElvRainbow,
["MisLust-Spirestone"] = ElvRainbow,
["MisMayhem-Spirestone"] = ElvRainbow,
["Misdîrect-Spirestone"] = ElvRainbow,
["Mismonk-Spirestone"] = ElvRainbow,
["Misillidan-Spirestone"] = ElvRainbow,
["Mispel-Spirestone"] = ElvRainbow,
......
......@@ -464,6 +464,11 @@ function NP:Initialize()
_G.ElvNP_Test:Point('BOTTOM', _G.UIParent, 'BOTTOM', 0, 250)
_G.ElvNP_Test:Size(NP.db.clickableWidth, NP.db.clickableHeight)
_G.ElvNP_Test:SetScale(1)
_G.ElvNP_Test:SetMovable(true)
_G.ElvNP_Test:RegisterForDrag("LeftButton", "RightButton")
_G.ElvNP_Test:SetScript("OnDragStart", function(self) _G.ElvNP_Test:StartMoving() end)
_G.ElvNP_Test:SetScript("OnDragStop", function() _G.ElvNP_Test:StopMovingOrSizing() end)
_G.ElvNP_Test.frameType = 'PLAYER'
NP:UpdatePlate(_G.ElvNP_Test)
_G.ElvNP_Test:Disable()
......
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