performance updates

performance updates
This commit is contained in:
Meow
2025-12-31 12:21:44 +01:00
committed by GitHub
parent a4cd49dbfd
commit 6eca163abd
8 changed files with 1938 additions and 18 deletions
+2
View File
@@ -455,6 +455,8 @@ pfUI:RegisterModule("chat", "vanilla:tbc", function ()
if C.chat.global.tabmouse == "1" then
pfUI.chat.mouseovertab = CreateFrame("Frame")
pfUI.chat.mouseovertab:SetScript("OnUpdate", function()
-- throttle to 0.1s
if ( this.tick or .1) > GetTime() then return else this.tick = GetTime() + .1 end
if pfUI.chat.hideLock then return end