From 0ec2b0e6caa548a15181520aed063d68e6dad159 Mon Sep 17 00:00:00 2001 From: urnati Date: Mon, 30 Sep 2019 15:36:34 -0400 Subject: [PATCH] - #20 Remove check to open Calendar (shift+left button) and remove the tooltip reference --- TitanClassicClock/TitanClassicClock.lua | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/TitanClassicClock/TitanClassicClock.lua b/TitanClassicClock/TitanClassicClock.lua index acc4e2e..11d75ee 100644 --- a/TitanClassicClock/TitanClassicClock.lua +++ b/TitanClassicClock/TitanClassicClock.lua @@ -100,6 +100,7 @@ end function TitanPanelClockButton_OnClick(self, button) +--[[ #20 No calendar in Classic if button == "LeftButton" and IsShiftKeyDown() then TitanUtils_CloseAllControlFrames(); if (TitanPanelRightClickMenu_IsVisible()) then @@ -107,8 +108,9 @@ function TitanPanelClockButton_OnClick(self, button) end ToggleCalendar() else - TitanPanelButton_OnClick(self, button); end +--]] + TitanPanelButton_OnClick(self, button); end -- ************************************************************************** @@ -223,8 +225,8 @@ function TitanPanelClockButton_GetTooltipText() clockTimeServerAdjustedLabel.. L["TITAN_CLOCK_TOOLTIP_VALUE"].."\t"..TitanUtils_GetHighlightText(clockText).."\n".. TitanUtils_GetGreenText(L["TITAN_CLOCK_TOOLTIP_HINT1"]).."\n".. - TitanUtils_GetGreenText(L["TITAN_CLOCK_TOOLTIP_HINT2"]).."\n".. - TitanUtils_GetGreenText(L["TITAN_CLOCK_TOOLTIP_HINT3"]); + TitanUtils_GetGreenText(L["TITAN_CLOCK_TOOLTIP_HINT2"]).."\n" +-- TitanUtils_GetGreenText(L["TITAN_CLOCK_TOOLTIP_HINT3"]); -- #20 - No calendar in Classic end -- ************************************************************************** -- 1.7.9.5