Skip to content

Commit

Permalink
Update time-graph-state.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewKhouzam committed May 21, 2021
1 parent ce74083 commit e0da58a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions timeline-chart/src/components/time-graph-state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export class TimeGraphStateComponent extends TimeGraphComponent {
const displayWidth = this._options.displayWidth ? this._options.displayWidth : 0;
const labelText = this._model.label;
const textPadding = 0.5;
if (displayWidth < 3){
if (displayWidth < 3) {
this.clearLabel();
return;
}
Expand All @@ -84,7 +84,7 @@ export class TimeGraphStateComponent extends TimeGraphComponent {
displayLabel = partialLabel.concat("...");
}
}
if (displayLabel === ""){
if (displayLabel === "") {
this.clearLabel();
return;
}
Expand Down

0 comments on commit e0da58a

Please sign in to comment.