Quantcast

Corrected for missing TitleRegion function - replaced with manual movement.

Kith [10-26-16 - 04:55]
Corrected for missing TitleRegion function - replaced with manual movement.
Filename
Ellipsis/Ellipsis.toc
Ellipsis/Overlays.lua
Ellipsis_Options/Ellipsis_Options.toc
diff --git a/Ellipsis/Ellipsis.toc b/Ellipsis/Ellipsis.toc
index e73b8be..8926cb1 100644
--- a/Ellipsis/Ellipsis.toc
+++ b/Ellipsis/Ellipsis.toc
@@ -2,7 +2,7 @@
 ## Title: Ellipsis (|cff67b1e9K|cff4779ceith|cff67b1e9M|cff4779ceod|r)
 ## Notes: A full-featured, multi-target Aura (DoTs and HoTs) tracker.
 ## Author: Kith
-## Version: 4.2.3
+## Version: 4.2.4
 ## SavedVariables: EllipsisDB, EllipsisVersion
 ## OptionalDeps: Ace3, LibSharedMedia-3.0, LibSink-2.0
 ## X-Embeds: Ace3, LibSharedMedia-3.0, LibSink-2.0
diff --git a/Ellipsis/Overlays.lua b/Ellipsis/Overlays.lua
index 796aaee..10b79af 100644
--- a/Ellipsis/Overlays.lua
+++ b/Ellipsis/Overlays.lua
@@ -209,9 +209,22 @@ local function CreateHelpDialog()
 	f:SetToplevel(true)
 	f:EnableMouse(true)
 	f:SetClampedToScreen(true)
+	f:SetMovable(true)
 	f:SetSize(280, 100)
 	f:SetPoint('CENTER', 0, 240)

+	f:SetScript('OnMouseDown', function(d)
+		d.isMoving = true
+		d:StartMoving()
+	end)
+
+	f:SetScript('OnMouseUp', function(d)
+		d.isMoving = false
+		d:StopMovingOrSizing()
+	end)
+
+	f:RegisterForDrag('LeftButton')
+
 	f:SetBackdrop{
 		bgFile		='Interface\\DialogFrame\\UI-DialogBox-Background',
 		edgeFile	='Interface\\DialogFrame\\UI-DialogBox-Border',
@@ -221,8 +234,8 @@ local function CreateHelpDialog()
 		edgeSize	= 32,
 	}

-	local titleRegion = f:CreateTitleRegion()
-	titleRegion:SetAllPoints()
+	--local titleRegion = f:CreateTitleRegion()
+	--titleRegion:SetAllPoints()

 	local header = f:CreateTexture(nil, 'ARTWORK')
 	header:SetTexture('Interface\\DialogFrame\\UI-DialogBox-Header')
diff --git a/Ellipsis_Options/Ellipsis_Options.toc b/Ellipsis_Options/Ellipsis_Options.toc
index 3797833..15a2f87 100644
--- a/Ellipsis_Options/Ellipsis_Options.toc
+++ b/Ellipsis_Options/Ellipsis_Options.toc
@@ -2,7 +2,7 @@
 ## Title: Ellipsis Options (|cff67b1e9K|cff4779ceith|cff67b1e9M|cff4779ceod|r)
 ## Notes: Options for Ellipsis. Must be enabled to alter settings.
 ## Author: Kith
-## Version: 4.2.3
+## Version: 4.2.4
 ## RequiredDeps: Ellipsis
 ## OptionalDeps: Ace3
 ## LoadOnDemand: 1