Skip to content

Commit

Permalink
fix: keyboard overlay timeout in screencast mode
Browse files Browse the repository at this point in the history
  • Loading branch information
newminkyung committed Jan 27, 2025
1 parent d863046 commit 5bffda2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/vs/workbench/browser/actions/developerActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ class ToggleScreencastModeAction extends Action2 {
keyboardMarker.innerText = '';
append(keyboardMarker, $('span.key', {}, `Backspace`));
}
clearKeyboardScheduler.schedule();
clearKeyboardScheduler.schedule(keyboardMarkerTimeout);
}));

disposables.add(onCompositionEnd.event(e => {
Expand All @@ -296,7 +296,7 @@ class ToggleScreencastModeAction extends Action2 {
} else {
imeBackSpace = true;
}
clearKeyboardScheduler.schedule();
clearKeyboardScheduler.schedule(keyboardMarkerTimeout);
return;
}

Expand Down Expand Up @@ -362,7 +362,7 @@ class ToggleScreencastModeAction extends Action2 {
}

length++;
clearKeyboardScheduler.schedule();
clearKeyboardScheduler.schedule(keyboardMarkerTimeout);
}));

ToggleScreencastModeAction.disposable = disposables;
Expand Down

0 comments on commit 5bffda2

Please sign in to comment.