Skip to content

Commit 15feb8a

Browse files
authored
fix(funbox): fix animations for choo_choo and earthquake funboxes in custom mode (@ShizukoV) (monkeytypegame#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: [![funboxesFixedVideo](https://img.youtube.com/vi/oF1zuqWGYnQ/0.jpg)](https://www.youtube.com/watch?v=oF1zuqWGYnQ)
1 parent d9009e5 commit 15feb8a

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

frontend/static/funbox/choo_choo.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,8 @@
1616
--correct-letter-animation: choochoo 2s infinite linear;
1717
--untyped-letter-animation: choochoo 2s infinite linear;
1818
}
19+
20+
#words letter,
21+
#words.withLigatures .word letter {
22+
display: inline-block;
23+
}

frontend/static/funbox/earthquake.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,8 @@
4040
--incorrect-letter-animation: shake_dat_ass 0.25s infinite linear;
4141
--extra-letter-animation: shake_dat_ass 0.25s infinite linear;
4242
}
43+
44+
#words letter,
45+
#words.withLigatures .word letter {
46+
display: inline-block;
47+
}

0 commit comments

Comments
 (0)