mirror of
https://github.com/ankitects/anki.git
synced 2026-01-13 22:13:58 -05:00
Run ./check and fix errors found by it
This commit is contained in:
parent
550aa21e09
commit
efc5f6944e
1 changed files with 4 additions and 1 deletions
|
|
@ -339,8 +339,11 @@ export function renderForgettingCurve(
|
|||
1,
|
||||
);
|
||||
let text = tooltipText(d);
|
||||
const desiredRetentionPercent = desiredRetention * 100;
|
||||
if (y2 >= lineY - 10 && y2 <= lineY + 10) {
|
||||
text += `<br>${tr.cardStatsFsrsForgettingCurveDesiredRetention()}: ${desiredRetention.toFixed(2) * 100}%`;
|
||||
text += `<br>${tr.cardStatsFsrsForgettingCurveDesiredRetention()}: ${
|
||||
desiredRetentionPercent.toFixed(2)
|
||||
}%`;
|
||||
}
|
||||
showTooltip(text, x1, y1);
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue