FIX DR not displayed as % in forgetting curve

This commit is contained in:
GithubAnon0000 2025-05-20 15:00:02 +02:00
parent d3d6bd8ce0
commit 550aa21e09

View file

@ -340,7 +340,7 @@ export function renderForgettingCurve(
);
let text = tooltipText(d);
if (y2 >= lineY - 10 && y2 <= lineY + 10) {
text += `<br>${tr.cardStatsFsrsForgettingCurveDesiredRetention()}: ${desiredRetention.toFixed(2)}`;
text += `<br>${tr.cardStatsFsrsForgettingCurveDesiredRetention()}: ${desiredRetention.toFixed(2) * 100}%`;
}
showTooltip(text, x1, y1);
})