From 0609d487a7da0e3adf5ed3586a05365f8aaf211b Mon Sep 17 00:00:00 2001 From: DuvelCorp Date: Thu, 10 Sep 2026 17:44:18 +0200 Subject: [PATCH] zBar: speed up assemble animation further --- modules/zhunter/zBar.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/zhunter/zBar.lua b/modules/zhunter/zBar.lua index c274b33..a9526cc 100644 --- a/modules/zhunter/zBar.lua +++ b/modules/zhunter/zBar.lua @@ -307,9 +307,9 @@ function MTH_ZBar_AnimateActivate() local count = table.getn(shownButtons) -- Cap the total stagger window so a full bar assembles just as quickly as a -- short one: the per-button delay shrinks as the button count grows. - local step = 0.035 + local step = 0.02 if count > 1 then - local maxWindow = 0.18 + local maxWindow = 0.10 if step * (count - 1) > maxWindow then step = maxWindow / (count - 1) end @@ -319,7 +319,7 @@ function MTH_ZBar_AnimateActivate() btn:SetAlpha(0) -- Staggered springy slide-up so the bar visibly assembles button by -- button instead of a faint collective fade. - ZBar_Sauce:SlideIn(btn, "UP", 26, 0.20, "outBack", { delay = (i - 1) * step }) + ZBar_Sauce:SlideIn(btn, "UP", 26, 0.14, "outBack", { delay = (i - 1) * step }) end end