changeset 42:2152dcaa9265 beta-0.81 v0.81

7.1 update and fix
author ShadowTheAge
date Thu, 27 Oct 2016 02:11:14 +0300
parents 77f8a34411cb
children 1f35600d34b3
files CrossRealmAssist.lua CrossRealmAssist.toc CrossRealmAssistSettings.lua
diffstat 3 files changed, 8 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/CrossRealmAssist.lua	Wed Jul 20 21:50:48 2016 +0300
+++ b/CrossRealmAssist.lua	Thu Oct 27 02:11:14 2016 +0300
@@ -654,10 +654,12 @@
 
 
     lfgui = setupWidget(CreateFrame("Frame","CrossRealmAssistJoinUI",nil,"UIPanelDialogTemplate"), {SetFrameStrata="HIGH",SetWidth=tableWidth+45,SetHeight=shift+95,EnableMouse=true,SetMovable=true,SetScale=scale})
-    lfgui.title:SetText("Click to join group")
+    lfgui.title:SetText("Click to join group");
+    local dragRect = setupWidget(CreateFrame("Frame",nil,lfgui), {EnableMouse=true,RegisterForDrag="LeftButton"}, 0, 6);
+    dragRect:SetAllPoints(lfgui.title)
+    dragRect:SetScript("OnDragStart", function() lfgui:StartMoving() end)
+    dragRect:SetScript("OnDragStop", function() lfgui:StopMovingOrSizing() end)
     lfgui:SetScript("OnUpdate",addon.lfgUpdate)
-    local titlereg = lfgui:CreateTitleRegion()
-    titlereg:SetAllPoints(lfgui.title)
     addon:CreateTabs()
 
     lfgTable = ScrollingTable:CreateST(tableTemplate,itemCount,16,nil,lfgui);
--- a/CrossRealmAssist.toc	Wed Jul 20 21:50:48 2016 +0300
+++ b/CrossRealmAssist.toc	Thu Oct 27 02:11:14 2016 +0300
@@ -1,8 +1,8 @@
-## Interface: 70000
+## Interface: 70100
 ## Title: Cross Realm Assist
 ## Notes: Easy tool for cross-realm hoping
 ## Author: ShadowTheAge
-## Version: 0.8 beta
+## Version: 0.81 beta
 ## SavedVariables: CrossRealmAssistDB
 
 embeds.xml
--- a/CrossRealmAssistSettings.lua	Wed Jul 20 21:50:48 2016 +0300
+++ b/CrossRealmAssistSettings.lua	Thu Oct 27 02:11:14 2016 +0300
@@ -1,4 +1,4 @@
-local version = "v0.8";
+local version = "v0.81";
 local about = [[About:
 I have started to make this addon as a tool for myself. Few people started to use it when I pushed it to Curse. Then updated it once with 6.2 release.
 After some time I have catched a dialog on my own realm discussing it. I went to check curse page and I was shocked - it was in top-60 monthly downloaded addons with lots of suggestions and few bug reports.