Quantcast

TomTom is now officially on my "addons I don't like" list

Darth Predator [06-28-17 - 01:54]
TomTom is now officially on my "addons I don't like" list
Filename
ElvUI_SLE/modules/minimap/minimapicons.lua
diff --git a/ElvUI_SLE/modules/minimap/minimapicons.lua b/ElvUI_SLE/modules/minimap/minimapicons.lua
index 8def8d6..fb7e781 100644
--- a/ElvUI_SLE/modules/minimap/minimapicons.lua
+++ b/ElvUI_SLE/modules/minimap/minimapicons.lua
@@ -89,6 +89,16 @@ SMB.AddButtonsToBar = {

 local function SkinButton(Button)
 	if not Button.isSkinned then
+		if TomTomLocals and Button.point then
+			if Button.point.uid then
+				if Button.point.uid.title then
+					if Button.point.uid.title == TomTomLocals["TomTom waypoint"] then
+						Button.isSkinned = true
+						return
+					end
+				end
+			end
+		end
 		local Name = Button:GetName()

 		if Button:IsObjectType('Button') then