mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-09-06 14:46:47 +08:00
fix(funbox): fix animations for choo_choo and earthquake funboxes in custom mode (@ShizukoV) (#6815)
Fixed an issue where the `choo_choo` and `earthquake` funboxes did not "work" in custom mode. Previously, these funboxes did not "work" in custom mode. When they were turned on, *no animations were played*. This change allows the animations to run regardless of the mode, so users can now experience the funboxes in custom mode as well. This change also makes sure they work on the other modes. ### Here is a video example of the bugs and the new changes in action: [](https://www.youtube.com/watch?v=oF1zuqWGYnQ)
This commit is contained in:
parent
d9009e51cc
commit
15feb8a74a
2 changed files with 10 additions and 0 deletions
|
@ -16,3 +16,8 @@
|
|||
--correct-letter-animation: choochoo 2s infinite linear;
|
||||
--untyped-letter-animation: choochoo 2s infinite linear;
|
||||
}
|
||||
|
||||
#words letter,
|
||||
#words.withLigatures .word letter {
|
||||
display: inline-block;
|
||||
}
|
||||
|
|
|
@ -40,3 +40,8 @@
|
|||
--incorrect-letter-animation: shake_dat_ass 0.25s infinite linear;
|
||||
--extra-letter-animation: shake_dat_ass 0.25s infinite linear;
|
||||
}
|
||||
|
||||
#words letter,
|
||||
#words.withLigatures .word letter {
|
||||
display: inline-block;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue