mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-07 06:00:00 +00:00
New throttling menu
New throttling menu
This commit is contained in:
@@ -712,6 +712,8 @@ function pfUI:LoadConfig()
|
||||
pfUI:UpdateConfig("tooltip", nil, "font_tooltip", "Interface\\AddOns\\pfUI\\fonts\\Myriad-Pro.ttf")
|
||||
pfUI:UpdateConfig("tooltip", nil, "font_tooltip_size", "12")
|
||||
|
||||
-- Throttle Settings
|
||||
|
||||
pfUI:UpdateConfig("chat", "text", "input_width", "0")
|
||||
pfUI:UpdateConfig("chat", "text", "input_height", "0")
|
||||
pfUI:UpdateConfig("chat", "text", "outline", "1")
|
||||
|
||||
+2
-2
@@ -1395,7 +1395,7 @@ function pfUI.uf.OnUpdate()
|
||||
-- update combat feedback (no throttle - needs immediate feedback)
|
||||
if this.feedbackText then CombatFeedback_OnUpdate(arg1) end
|
||||
|
||||
-- Throttle raid/party frames for performance (10 updates/sec)
|
||||
-- Throttle raid/party frames for performance
|
||||
if this.label == "raid" or this.label == "party" then
|
||||
if (this.throttleTick or 0) > now then
|
||||
if pfUI.uf.stats and pfUI.uf.stats.enabled then
|
||||
@@ -1403,7 +1403,7 @@ function pfUI.uf.OnUpdate()
|
||||
end
|
||||
return
|
||||
end
|
||||
this.throttleTick = now + 0.1
|
||||
this.throttleTick = now + 0.1 -- Default: 10 FPS
|
||||
end
|
||||
|
||||
-- ============================================================================
|
||||
|
||||
Reference in New Issue
Block a user