From f99835fcac490b8f14dee6d0da409e401139e73f Mon Sep 17 00:00:00 2001 From: Ray Date: Tue, 3 Oct 2023 08:04:07 +0100 Subject: [PATCH] Clean-up --- bbtimeline.js | 3 --- demo-test.html | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/bbtimeline.js b/bbtimeline.js index 81bb04a..02d7f6d 100644 --- a/bbtimeline.js +++ b/bbtimeline.js @@ -403,10 +403,7 @@ class BBTimeline { calcXAxisHeight() { const a = this; - - console.log(a.Axis.Font); const labelSize = a.measureText(a.Axis.Font, "0"); - const result = labelSize.Height + a.Axis.LabelSpacing + (a.Axis.X.DayLineHeight * 2); return result; diff --git a/demo-test.html b/demo-test.html index 3028456..6435736 100644 --- a/demo-test.html +++ b/demo-test.html @@ -25,7 +25,7 @@

- +

@@ -103,7 +103,7 @@ function ToggleDebug() function LoadToday() { - const date = timeline1.DateToString(new Date(), "yyyy-MM-dd"); + // const date = timeline1.DateToString(new Date(), "yyyy-MM-dd"); timeline1.Load("2023-10-01"); }