mirror of
https://codeberg.org/Duvelcorp/MetaHunt.git
synced 2026-10-11 02:50:00 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user