Commit 5fcf964
authored
fix(test): immediately reposition caret and tape on tapeMargin change (@byseif21) (monkeytypegame#6860)
### Description
changing `tapeMargin` mid-test didn’t move the caret until typing
resumed because no layout update was triggered for this config.1 parent a376446 commit 5fcf964
File tree
2 files changed
+8
-1
lines changed- frontend
- __tests__/root
- src/ts
2 files changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
59 | 65 | | |
60 | 66 | | |
61 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
512 | 512 | | |
513 | 513 | | |
514 | 514 | | |
| 515 | + | |
515 | 516 | | |
516 | 517 | | |
517 | 518 | | |
| |||
0 commit comments