Add Growl pet auto-teach feature and smooth zButton expand animation

- New Pet Auto-Teach: on tame, offer to teach Growl at the best rank via the
  Beast Training window (Craft API DoCraft), with a General options checkbox
  and /mth growl on|off|status toggle (on by default).
- De-stagger zButton flyout bars and zBar so buttons fade in together.
- Update CHANGELOG.
This commit is contained in:
DuvelCorp
2026-09-10 21:20:56 +02:00
parent 64e449481f
commit adb21c336c
8 changed files with 384 additions and 13 deletions
+3 -5
View File
@@ -418,11 +418,9 @@ function ZSpellButton_SetChildrenExpanded(parent, expanded)
end
end
ZSpellButton_StartFadeTimer(parent)
-- Animate only on a genuine collapsed->expanded toggle, and never on the
-- very first apply at login (guarded by _zbAnimReady, set in ApplyChildrenExpanded).
if wasCollapsed and parent._zbAnimReady then
ZSpellButton_AnimateExpand(parent)
end
-- Flyout reveal is instant: no stagger/cascade animation. The staggered
-- "stacking one after the other" fly-out was slow and unwanted, so the
-- children just appear immediately when expanded.
else
saved["children"]["expanded"] = 0
if parent.children then