Skip to content

Commit

Permalink
fix: Fix objective tracker frame sometimes not unhiding
Browse files Browse the repository at this point in the history
  • Loading branch information
happenslol committed Sep 22, 2024
1 parent 52de974 commit f33817d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand All @@ -223,6 +224,7 @@ function WarpDeplete:HideBlizzardObjectiveTracker()

self.originalObjectiveTrackerParent = ObjectiveTrackerFrame:GetParent()
ObjectiveTrackerFrame:SetParent(self.frames.hiddenObjectiveTrackerParent)
ObjectiveTrackerFrame:Hide()
end

function WarpDeplete:ShowExternals()
Expand Down
2 changes: 1 addition & 1 deletion WarpDeplete.toc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f33817d

Please sign in to comment.