fix: calculating with currentSentences instead of page
This commit is contained in:
parent
86ca1199cc
commit
0712d9f61a
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ export default class StatsManager {
|
||||||
this.vaultStats.history[this.today].totalSentences +=
|
this.vaultStats.history[this.today].totalSentences +=
|
||||||
currentSentences - modFiles[fileName].sentences.current;
|
currentSentences - modFiles[fileName].sentences.current;
|
||||||
this.vaultStats.history[this.today].totalPages +=
|
this.vaultStats.history[this.today].totalPages +=
|
||||||
currentSentences - modFiles[fileName].pages.current;
|
currentPages - modFiles[fileName].pages.current;
|
||||||
modFiles[fileName].words.current = currentWords;
|
modFiles[fileName].words.current = currentWords;
|
||||||
modFiles[fileName].characters.current = currentCharacters;
|
modFiles[fileName].characters.current = currentCharacters;
|
||||||
modFiles[fileName].sentences.current = currentSentences;
|
modFiles[fileName].sentences.current = currentSentences;
|
||||||
|
|
Loading…
Reference in a new issue