mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-21 19:41:05 +08:00
🎨 Distinguish between new cards and review cards during spaced repetition https://github.com/siyuan-note/siyuan/issues/9377
This commit is contained in:
parent
badaf6ffb8
commit
fcd59dffee
@ -1020,13 +1020,13 @@ func getDeckDueCards(deck *riff.Deck, reviewedCardIDs, blockIDs []string, newCar
|
|||||||
}
|
}
|
||||||
|
|
||||||
if riff.New == c.GetState() {
|
if riff.New == c.GetState() {
|
||||||
if newCount > newCardLimit {
|
if newCount >= newCardLimit {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
newCount++
|
newCount++
|
||||||
} else {
|
} else {
|
||||||
if reviewCount > reviewCardLimit {
|
if reviewCount >= reviewCardLimit {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user