mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-12-28 10:59:46 +08:00
fix(hide-extra-letters): extra letters with hideExtraLetters enabled causing caret problems (@Leonabcd123) (#7272)
### Description Same solution as #7254
This commit is contained in:
parent
ca9dac17a7
commit
805c7ae7d9
1 changed files with 1 additions and 1 deletions
|
|
@ -300,7 +300,7 @@ export class Caret {
|
|||
if (options.letterIndex >= letters.length) {
|
||||
side = "afterLetter";
|
||||
|
||||
if (Config.blindMode) {
|
||||
if (Config.blindMode || Config.hideExtraLetters) {
|
||||
options.letterIndex = wordText?.length - 1;
|
||||
} else {
|
||||
options.letterIndex = letters.length - 1;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue