mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 17:26:36 -04:00
./check
This commit is contained in:
parent
17d8528afd
commit
84b2b2bd96
3 changed files with 2 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
||||||
use std::collections::HashMap;
|
|
||||||
// Copyright: Ankitects Pty Ltd and contributors
|
// Copyright: Ankitects Pty Ltd and contributors
|
||||||
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
|
use std::collections::HashMap;
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
|
|
||||||
use anki_proto::deck_config::deck_config::config::ReviewCardOrder;
|
use anki_proto::deck_config::deck_config::config::ReviewCardOrder;
|
||||||
|
|
|
@ -270,9 +270,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
const render_function = workload
|
const render_function = workload ? renderWorkloadChart : renderSimulationChart;
|
||||||
? renderWorkloadChart
|
|
||||||
: renderSimulationChart;
|
|
||||||
|
|
||||||
tableData = render_function(
|
tableData = render_function(
|
||||||
svg as SVGElement,
|
svg as SVGElement,
|
||||||
|
|
|
@ -49,8 +49,6 @@ export function renderWorkloadChart(
|
||||||
data: Point[],
|
data: Point[],
|
||||||
subgraph: SimulateWorkloadSubgraph,
|
subgraph: SimulateWorkloadSubgraph,
|
||||||
) {
|
) {
|
||||||
const today = new Date();
|
|
||||||
|
|
||||||
const xMin = 70;
|
const xMin = 70;
|
||||||
const xMax = 99;
|
const xMax = 99;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue