-Added a better tooltip for minimap button and LDB button.
Xruptor [11-28-11 - 13:41]
-Added a better tooltip for minimap button and LDB button.
-Show minimap is now on by default for new users.
diff --git a/BagSync.lua b/BagSync.lua
index 12b55e3..62944a5 100644
--- a/BagSync.lua
+++ b/BagSync.lua
@@ -343,7 +343,7 @@ function BagSync:StartupDB()
if BagSyncOpt.enableGuild == nil then BagSyncOpt.enableGuild = true end
if BagSyncOpt.enableMailbox == nil then BagSyncOpt.enableMailbox = true end
if BagSyncOpt.enableUnitClass == nil then BagSyncOpt.enableUnitClass = false end
- if BagSyncOpt.enableMinimap == nil then BagSyncOpt.enableMinimap = false end
+ if BagSyncOpt.enableMinimap == nil then BagSyncOpt.enableMinimap = true end
if BagSyncOpt.enableFaction == nil then BagSyncOpt.enableFaction = true end
BagSyncGUILD_DB = BagSyncGUILD_DB or {}
diff --git a/BagSync_Minimap.lua b/BagSync_Minimap.lua
index f6422f4..88df847 100644
--- a/BagSync_Minimap.lua
+++ b/BagSync_Minimap.lua
@@ -99,8 +99,10 @@ bgMinimapButton:SetScript('OnDragStop', function(self, button)
end)
bgMinimapButton:SetScript('OnEnter', function(self)
- GameTooltip:SetOwner(bgMinimapButton)
- GameTooltip:SetText('BagSync')
+ GameTooltip:SetOwner(self, "ANCHOR_LEFT")
+ GameTooltip:AddLine("BagSync")
+ GameTooltip:AddLine(L["Left Click = Search Window"])
+ GameTooltip:AddLine(L["Right Click = BagSync Menu"])
GameTooltip:Show()
end)