Tweaks, fixes, and a few new features

This commit is contained in:
User
2026-08-19 15:00:00 -05:00
parent 86cd42eff2
commit 76bba359f1
980 changed files with 4015512 additions and 151 deletions
+22
View File
@@ -800,6 +800,9 @@ function M:Finish(generation,doPrune)
self.syncNodeRevision=nil
self.syncing=false
-- Re-apply the tracker-hover dim/highlight to the freshly rendered pins.
self:ApplyHighlight()
if self.resync then
local p=self.prune
self.resync=false
@@ -808,6 +811,25 @@ function M:Finish(generation,doPrune)
end
end
function M:ApplyHighlight()
local hq=QuestieOcto.MapHighlight and QuestieOcto.MapHighlight.questID
local V=QuestieOcto.Visuals
if not V then return end
for _,pin in pairs(self.activeFrames or {}) do
if pin then
if not hq then
V:SetHighlight(pin,false)
V:SetAlpha(pin,1)
elseif tonumber(pin.questID)==hq and V:IsObjectiveRole(pin.role) then
V:SetHighlight(pin,true)
else
V:SetHighlight(pin,false)
V:SetAlpha(pin,0.25)
end
end
end
end
function M:RenderPreparedDescriptor(desc,generation,renderItemStarts)
if desc.type=="itemStartArea" then
if renderItemStarts then M:RenderItemStartArea(desc.area,generation) end