mirror of
https://github.com/ankitects/anki.git
synced 2026-01-07 02:53:54 -05:00
reverted unneccessary changes to xMax
This commit is contained in:
parent
002b39e89d
commit
c457b43a87
1 changed files with 1 additions and 2 deletions
|
|
@ -90,7 +90,7 @@ export function renderReviews(
|
|||
): TableDatum[] {
|
||||
const svg = select(svgElem);
|
||||
const trans = svg.transition().duration(600) as any;
|
||||
let xMax = 1;
|
||||
const xMax = 1;
|
||||
let xMin = 0;
|
||||
// cap max to selected range
|
||||
switch (range) {
|
||||
|
|
@ -102,7 +102,6 @@ export function renderReviews(
|
|||
break;
|
||||
case GraphRange.Year:
|
||||
xMin = -364;
|
||||
xMax = 0;
|
||||
break;
|
||||
case GraphRange.AllTime:
|
||||
xMin = min(sourceData.reviewCount.keys())!;
|
||||
|
|
|
|||
Loading…
Reference in a new issue