fix(animations): capture cancelled animation styles within grouped animations
Closes #17170
This commit is contained in:

committed by
Alex Rickabaugh

parent
d4679a0bc2
commit
333ffd8d32
@ -132,4 +132,12 @@ export class AnimationGroupPlayer implements AnimationPlayer {
|
||||
}
|
||||
|
||||
get players(): AnimationPlayer[] { return this._players; }
|
||||
|
||||
beforeDestroy(): void {
|
||||
this.players.forEach(player => {
|
||||
if (player.beforeDestroy) {
|
||||
player.beforeDestroy();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user