diff --git a/modules/castbar.lua b/modules/castbar.lua index 1030c01c..8f1e5950 100644 --- a/modules/castbar.lua +++ b/modules/castbar.lua @@ -70,7 +70,7 @@ 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.025 -- ~60 FPS for smooth castbar + this.tick = GetTime() + 0.020 -- ~60 FPS for smooth castbar if this.drag and this.drag:IsShown() then this:SetAlpha(1) diff --git a/modules/nameplates.lua b/modules/nameplates.lua index 59cc2b0d..63de5235 100644 --- a/modules/nameplates.lua +++ b/modules/nameplates.lua @@ -984,7 +984,7 @@ pfUI:RegisterModule("nameplates", "vanilla", function () -- Nutze Alpha >= 0.99 statt == 1 um Flackern durch Fließkomma-Ungenauigkeiten zu verhindern -- (Nicht-Targets werden explizit auf 0.95 gesetzt, Targets auf 1.0) local target = UnitExists("target") and frame:GetAlpha() >= 0.99 or nil - local throttle = target and 0.025 or 0.025 + local throttle = target and 0.020 or 0.020 if (nameplate.lasttick or 0) + throttle > now then return end nameplate.lasttick = now