Skip to content

Commit

Permalink
fix(axis): when update for the first time, make sure done is called
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovilia committed Aug 4, 2022
1 parent 979654c commit 466d08f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/util/graphic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,9 @@ export function groupTransition(
done?: () => void
) {
if (!g1 || !g2) {
if (typeof done === 'function') {
done();
}
return;
}

Expand Down

0 comments on commit 466d08f

Please sign in to comment.