add optional sp/haste display to player frame

This commit is contained in:
pepopo978
2026-02-28 12:41:34 -08:00
parent bd36d91189
commit 3373751884
13 changed files with 238 additions and 11 deletions
+3 -3
View File
@@ -80,8 +80,8 @@ pfUI:RegisterModule("castbar", "vanilla", function ()
cb:SetScript("OnUpdate", function()
-- Throttle for performance
if (this.tick or 0) > GetTime() then return end
this.tick = GetTime() + 0.020 -- ~60 FPS for smooth castbar
this.tick = GetTime() + 0.020 -- ~50 FPS for smooth castbar
if this.drag and this.drag:IsShown() then
this:SetAlpha(1)
return
@@ -385,4 +385,4 @@ pfUI:RegisterModule("castbar", "vanilla", function ()
UpdateMovable(pfUI.castbar.focus)
end
end)
end)