mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-01 02:55:54 +08:00
fix(test config): punctuation and numbers disappearing when selected language doesnt have any quotes
closes #6451
This commit is contained in:
parent
9a4ac30957
commit
2391bc5204
1 changed files with 3 additions and 0 deletions
|
@ -111,6 +111,7 @@ export async function update(previous: Mode, current: Mode): Promise<void> {
|
|||
);
|
||||
|
||||
puncAndNumEl
|
||||
.stop(true, false)
|
||||
.css({
|
||||
width: puncAndNumVisible[previous] ? width : 0,
|
||||
opacity: puncAndNumVisible[previous] ? 1 : 0,
|
||||
|
@ -162,6 +163,7 @@ export async function update(previous: Mode, current: Mode): Promise<void> {
|
|||
const widthStep = widthDifference / 2;
|
||||
|
||||
previousEl
|
||||
.stop(true, false)
|
||||
.css({
|
||||
opacity: 1,
|
||||
width: previousWidth,
|
||||
|
@ -186,6 +188,7 @@ export async function update(previous: Mode, current: Mode): Promise<void> {
|
|||
width: previousWidth + widthStep,
|
||||
})
|
||||
.removeClass("hidden")
|
||||
.stop(true, false)
|
||||
.animate(
|
||||
{
|
||||
opacity: 1,
|
||||
|
|
Loading…
Add table
Reference in a new issue