Strengthen subtle animations: pin scale-pops, window slide-in/out with overshoot, panel slides, zButton cascade, zBar springy stagger

This commit is contained in:
DuvelCorp
2026-09-10 17:21:10 +02:00
parent 66ff1ae711
commit 3233ebff7f
5 changed files with 61 additions and 15 deletions
+3 -1
View File
@@ -298,7 +298,9 @@ function MTH_ZBar_AnimateActivate()
local btn = getglobal(buttonName)
if btn and btn:IsShown() then
btn:SetAlpha(0)
ZBar_Sauce:FadeTo(btn, 1, 0.30, "outQuad", { delay = (i - 1) * 0.05 })
-- 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.32, "outBack", { delay = (i - 1) * 0.06 })
end
end
end