Skip to content

Commit

Permalink
Renamed the last canvas thing to timeline
Browse files Browse the repository at this point in the history
  • Loading branch information
TanukiSharp committed Apr 6, 2024
1 parent a92a526 commit 920a4d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/timeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class Timeline {

this.show();

this._computeCanvasSize(lifetimeDrinks);
this._computeTimelineSize(lifetimeDrinks);

this._clear();

Expand Down Expand Up @@ -74,7 +74,7 @@ class Timeline {
timelineElement.innerHTML = '';
}

_computeCanvasSize(lifetimeDrinks) {
_computeTimelineSize(lifetimeDrinks) {
const startTime = lifetimeDrinks[0].startedAt;
let endTime;

Expand Down

0 comments on commit 920a4d1

Please sign in to comment.