aboutsummaryrefslogtreecommitdiff
path: root/src/gui/message.rs
diff options
context:
space:
mode:
authorJoris2022-02-13 09:30:42 +0100
committerJoris2022-02-13 09:30:42 +0100
commit8170fb5e432cc81986479a6a3a400e009426d76a (patch)
tree18fe059613547024212aa1f192d83c6df1543fa4 /src/gui/message.rs
parentc001d6ec59221b11af8e7aafce76002cc63604e6 (diff)
downloadflashcards-8170fb5e432cc81986479a6a3a400e009426d76a.tar.gz
flashcards-8170fb5e432cc81986479a6a3a400e009426d76a.tar.bz2
flashcards-8170fb5e432cc81986479a6a3a400e009426d76a.zip
Properly shuffle card presentation from card insertion
Instead of messing with deck_read, subtracting a random amount of seconds to it, pick a random card instead of the first ready. This permits to remove the dependency to the rand crate.
Diffstat (limited to 'src/gui/message.rs')
0 files changed, 0 insertions, 0 deletions