提交 5b6c98c4 编写于 作者: R Rob Lourens

Tweak search result focus debounce time

上级 fe742d38
......@@ -489,7 +489,7 @@ export class SearchViewlet extends Viewlet {
if (keyboard) {
// debounce setting selection so that we are not too quickly opening
// when the user is pressing and holding the key to move focus
if (focusToSelectionDelayHandle || (Date.now() - lastFocusToSelection <= 100)) {
if (focusToSelectionDelayHandle || (Date.now() - lastFocusToSelection <= 75)) {
window.clearTimeout(focusToSelectionDelayHandle);
focusToSelectionDelayHandle = window.setTimeout(() => focusToSelection(), 300);
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册