From f33817d677ae655ea81346f2bf29d89331c7acc8 Mon Sep 17 00:00:00 2001 From: Hilmar Wiegand Date: Sun, 22 Sep 2024 18:26:54 +0200 Subject: [PATCH] fix: Fix objective tracker frame sometimes not unhiding --- Core.lua | 4 +++- WarpDeplete.toc | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Core.lua b/Core.lua index a7d8058..27448ba 100644 --- a/Core.lua +++ b/Core.lua @@ -158,7 +158,7 @@ function WarpDeplete:EnableDemoMode() end self:SetObjectives(objectives) - self:SetKeyDetails(30, 15, {L["Tyrannical"], L["Bolstering"], L["Spiteful"], L["Challenger's Peril"]}, {9, 7, 123, 152}) + self:SetKeyDetails(30, 15, {L["Tyrannical"], L["Bolstering"], L["Spiteful"], L["Peril"]}, {9, 7, 123, 152}) self:SetTimerLimit(35 * 60) self:SetTimerRemaining(20 * 60) @@ -210,6 +210,7 @@ function WarpDeplete:ShowBlizzardObjectiveTracker() -- FIXME(happens): See HideBlizzardObjectiveTracker ObjectiveTrackerFrame:SetAlpha(1) + ObjectiveTrackerFrame:Show() if ObjectiveTrackerFrame:GetParent() == self.frames.hiddenObjectiveTrackerParent then ObjectiveTrackerFrame:SetParent(self.originalObjectiveTrackerParent or UIParent) @@ -223,6 +224,7 @@ function WarpDeplete:HideBlizzardObjectiveTracker() self.originalObjectiveTrackerParent = ObjectiveTrackerFrame:GetParent() ObjectiveTrackerFrame:SetParent(self.frames.hiddenObjectiveTrackerParent) + ObjectiveTrackerFrame:Hide() end function WarpDeplete:ShowExternals() diff --git a/WarpDeplete.toc b/WarpDeplete.toc index 7577bbf..94a89c3 100644 --- a/WarpDeplete.toc +++ b/WarpDeplete.toc @@ -2,7 +2,7 @@ ## Title: WarpDeplete ## Notes-ruRU: WarpDeplete - таймер для подземелий М+ с гибкими настройками ## Author: Happens -## Version: 3.1.0 +## Version: 3.1.2 ## SavedVariables: WarpDepleteDB ## IconTexture: Interface\AddOns\WarpDeplete\logo ## X-Curse-Project-ID: 460155