Skip to content

Commit

Permalink
Another try to fix taints.
Browse files Browse the repository at this point in the history
  • Loading branch information
IrcDirk committed Dec 18, 2023
1 parent 838e926 commit f409554
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Carbonite.Quests/NxQuest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6853,12 +6853,12 @@ function CarboniteQuest:OnQuestUpdate (event, ...)
end
-- Nx.prtD ("OnQuestUpdate %s Done", event)

WatchFrame:Hide()
-- WatchFrame:Hide()
end

--hooksecurefunc("QuestWatch_Update", function (...) WatchFrame:Hide(); end);
hooksecurefunc("WatchFrame_Update", function (...) pcall(function () WatchFrame:Hide(); end); end);

--hooksecurefunc("WatchFrame_Update", function (...) hooksecurefunc(WatchFrame, 'Hide', fixedSetPoint) pcall(WatchFrame:Hide(), nil); end);
hooksecurefunc(WatchFrame, 'Show', function (f) f:Hide() end);

Nx.Quest.TrackedAchievements = {}
function CarboniteQuest:OnTrackedAchievementsUpdate (event, ...)
Expand Down
4 changes: 2 additions & 2 deletions Carbonite/NxUI.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5536,10 +5536,10 @@ function Nx.List:Resize (width, height)
width = max (self.MinW, width)
height = max (self.MinH, height)

pcall(function()
if(not InCombatLockdown()) then
f:SetWidth (width)
f:SetHeight (height)
end)
end

local sfrm = self.SelFrm
sfrm:SetWidth (width - 10)
Expand Down

0 comments on commit f409554

Please sign in to comment.