perf: skip TestGameCache wait on clustering-only redraws

- SmoothReset now accepts { skipCacheTest = true } to short-circuit the game cache wait and draw-queue drain
- ClusterRedraw passes the flag so icon-cluster and dense-pin-clustering sliders redraw immediately
- QuestieOptionsAdvanced wires the spawn-pin-dedup-radius slider directly to ClusterRedraw instead of the delayed SmoothReset path
This commit is contained in:
Xurkon
2026-06-07 08:42:40 -05:00
parent 5b576911d7
commit 78aefa4af8
3 changed files with 10 additions and 4 deletions
+3 -2
View File
@@ -118,8 +118,9 @@ end
function QuestieOptions:ClusterRedraw()
Questie:Debug(Questie.DEBUG_INFO, "Clustering changed, redrawing!")
--Redraw clusters here
QuestieQuest:SmoothReset();
-- Cluster-only changes don't depend on quest log state — skip the
-- TestGameCache wait and draw-queue drain that SmoothReset does.
QuestieQuest:SmoothReset({ skipCacheTest = true })
end
---@return table