optimistically show 1 in tally only for a code match
This commit is contained in:
parent
4522362f76
commit
4ecb6e7bc2
|
@ -222,7 +222,7 @@ onDOMready().then(() => {
|
||||||
const radiateFrom = foundInCode ? index : editors.indexOf(cmStart);
|
const radiateFrom = foundInCode ? index : editors.indexOf(cmStart);
|
||||||
setupOverlay(radiateArray(editors, radiateFrom));
|
setupOverlay(radiateArray(editors, radiateFrom));
|
||||||
enableReplaceButtons(foundInCode);
|
enableReplaceButtons(foundInCode);
|
||||||
debounce(showTally, 0, found && !state.numFound ? 1 : undefined);
|
debounce(showTally, 0, foundInCode && !state.numFound ? 1 : undefined);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user