mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-21 11:30:42 +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 newCount > newCardLimit {
|
||||
if newCount >= newCardLimit {
|
||||
continue
|
||||
}
|
||||
|
||||
newCount++
|
||||
} else {
|
||||
if reviewCount > reviewCardLimit {
|
||||
if reviewCount >= reviewCardLimit {
|
||||
continue
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user