This commit is contained in:
Olivier Gagnon 2022-07-14 19:02:59 -04:00
parent 6b630753f0
commit dd7ceeefdd

@ -274,7 +274,7 @@ export function SidebarRoot(props: IProps): React.ReactElement {
// Alt-o - Options // Alt-o - Options
// Alt-b - Bladeburner // Alt-b - Bladeburner
// Alt-g - Gang // Alt-g - Gang
function handleShortcuts(this: Document, event: KeyboardEvent): any { function handleShortcuts(this: Document, event: KeyboardEvent): void {
if (Settings.DisableHotkeys) return; if (Settings.DisableHotkeys) return;
if ((props.player.currentWork && props.player.focus) || props.router.page() === Page.BitVerse) return; if ((props.player.currentWork && props.player.focus) || props.router.page() === Page.BitVerse) return;
if (event.code === KEYCODE.T && event.altKey) { if (event.code === KEYCODE.T && event.altKey) {