changeset 79:a892c863c86a v32

fixed chat message in LFR/BGs, minor layering issue with dropdowns
author yellowfive
date Tue, 05 Apr 2016 16:19:15 -0700
parents 4b1375f5c4f2
children 8f235b016212
files AskMrRobot-Serializer/AskMrRobot-Serializer.lua AskMrRobot.toc Core.lua ui/AmrUiDropDown.lua
diffstat 4 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/AskMrRobot-Serializer/AskMrRobot-Serializer.lua	Wed Nov 25 15:09:07 2015 -0800
+++ b/AskMrRobot-Serializer/AskMrRobot-Serializer.lua	Tue Apr 05 16:19:15 2016 -0700
@@ -1,7 +1,7 @@
 -- AskMrRobot-Serializer will serialize and communicate character data between users.
 -- This is used primarily to associate character information to logs uploaded to askmrrobot.com.
 
-local MAJOR, MINOR = "AskMrRobot-Serializer", 31
+local MAJOR, MINOR = "AskMrRobot-Serializer", 32
 local Amr, oldminor = LibStub:NewLibrary(MAJOR, MINOR)
 
 if not Amr then return end -- already loaded by something else
--- a/AskMrRobot.toc	Wed Nov 25 15:09:07 2015 -0800
+++ b/AskMrRobot.toc	Tue Apr 05 16:19:15 2016 -0700
@@ -1,7 +1,7 @@
 ## Interface: 60200
 ## Title: Ask Mr. Robot
 ## Author: Team Robot, Inc.
-## Version: 31
+## Version: 32
 ## Notes: Gear import/export, combat logging, and more.
 ## URL: www.askmrrobot.com
 ## SavedVariables: AskMrRobotDb2
--- a/Core.lua	Wed Nov 25 15:09:07 2015 -0800
+++ b/Core.lua	Tue Apr 05 16:19:15 2016 -0700
@@ -567,7 +567,7 @@
 	local v = GetAddOnMetadata(Amr.ADDON_NAME, "Version")
 	message = v .. "\r" .. message
 	
-	Amr:SendCommMessage(Amr.ChatPrefix, message, channel or "RAID")
+	Amr:SendCommMessage(Amr.ChatPrefix, message, channel or (IsInGroup(LE_PARTY_CATEGORY_INSTANCE) and "INSTANCE_CHAT" or "RAID"))
 end
 
 function Amr:OnCommReceived(prefix, message, distribution, sender)
--- a/ui/AmrUiDropDown.lua	Wed Nov 25 15:09:07 2015 -0800
+++ b/ui/AmrUiDropDown.lua	Tue Apr 05 16:19:15 2016 -0700
@@ -24,6 +24,7 @@
 		frame.obj.list:Hide()
 	else
 		frame.obj.list:Show()
+		frame.obj.list:SetFrameLevel(100)
 		frame.obj:RenderItems()
 	end
 end
@@ -232,6 +233,7 @@
 	arrow:SetPoint("RIGHT", frame, "RIGHT", -4, 0)
 
 	local list = CreateFrame("Frame", nil, frame)
+	list:SetFrameStrata("TOOLTIP")
 	list:SetPoint("TOPLEFT", frame, "BOTTOMLEFT", 0, 1)
 	list:Hide()