Skip to content

Commit

Permalink
fix: change bar width after change view type
Browse files Browse the repository at this point in the history
  • Loading branch information
mengshuicmq authored and HandsomeButterball committed Jul 1, 2021
1 parent c7114ab commit 6c6de0a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/gantt/src/gantt-upper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,8 @@ export abstract class GanttUpper {
if (!this.firstChange) {
if (changes.viewType && changes.viewType.currentValue) {
this.createView();
this.setupGroups();
this.setupItems();
this.computeRefs();
this.viewChange.emit(this.view);
}
Expand Down

0 comments on commit 6c6de0a

Please sign in to comment.