Skip to content

Commit

Permalink
fix(event): 调整 afterpaint 的抛出时机
Browse files Browse the repository at this point in the history
  • Loading branch information
simaQ committed Mar 19, 2020
1 parent de161f4 commit f1f8206
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/chart/view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1145,10 +1145,10 @@ export class View extends Base {

this.renderLayoutRecursive(isUpdate);

this.emit(VIEW_LIFE_CIRCLE.AFTER_PAINT);

this.renderPaintRecursive(isUpdate);

this.emit(VIEW_LIFE_CIRCLE.AFTER_PAINT);

this.isDataChanged = false; // 渲染完毕复位
}

Expand Down

0 comments on commit f1f8206

Please sign in to comment.