From c9c87c90697c861334f18b15d0729f519d6cb224 Mon Sep 17 00:00:00 2001 From: Xruptor Date: Mon, 28 Nov 2011 08:41:16 -0500 Subject: [PATCH] -Added a better tooltip for minimap button and LDB button. -Show minimap is now on by default for new users. --- BagSync.lua | 2 +- BagSync_Minimap.lua | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) 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) -- 1.7.9.5