From e0da58ac19386090500b20bf9c99f261e9d03ff9 Mon Sep 17 00:00:00 2001 From: Matthew Khouzam Date: Fri, 21 May 2021 09:39:14 -0400 Subject: [PATCH] Update time-graph-state.ts --- timeline-chart/src/components/time-graph-state.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/timeline-chart/src/components/time-graph-state.ts b/timeline-chart/src/components/time-graph-state.ts index 3ddcc0f..f4ebebc 100644 --- a/timeline-chart/src/components/time-graph-state.ts +++ b/timeline-chart/src/components/time-graph-state.ts @@ -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; } @@ -84,7 +84,7 @@ export class TimeGraphStateComponent extends TimeGraphComponent { displayLabel = partialLabel.concat("..."); } } - if (displayLabel === ""){ + if (displayLabel === "") { this.clearLabel(); return; }