remove so many fields and values used by the old system

This commit is contained in:
Olivier Gagnon
2022-07-12 23:13:40 -04:00
parent 598e47766e
commit fac6633347
15 changed files with 27 additions and 954 deletions
+1 -1
View File
@@ -276,7 +276,7 @@ export function SidebarRoot(props: IProps): React.ReactElement {
// Alt-g - Gang
function handleShortcuts(this: Document, event: KeyboardEvent): any {
if (Settings.DisableHotkeys) return;
if ((props.player.isWorking && 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) {
event.preventDefault();
clickTerminal();