We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf0638c commit ad552f3Copy full SHA for ad552f3
index.html
@@ -77,13 +77,13 @@ <h2>カスタムモード</h2>
77
currentHours - (startHours + startMinutes / 60);
78
let timeProgressRate = elapsedTimeInHours / differenceInHours;
79
let needWordCount = Math.round(
80
- targetWordCount * timeProgressRate + offsetWordCount
+ (targetWordCount - offsetWordCount) * timeProgressRate + offsetWordCount
81
);
82
document.getElementById(
83
"wordsToWrite"
84
).innerHTML = `要求文字数: ${needWordCount}字`;
85
86
- let wordsPerHour = Math.round((targetWordCount - offsetWordCount) / differenceInHours);
+ let wordsPerHour = Math.round(targetWordCount / differenceInHours);
87
88
"wordsPerHour"
89
).innerHTML = `時速: ${wordsPerHour}字`;
0 commit comments