Skip to content

Commit

Permalink
resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
ThatDeparted2061 committed Feb 3, 2025
1 parent b8d4607 commit 45aefdc
Showing 1 changed file with 4 additions and 18 deletions.
22 changes: 4 additions & 18 deletions src/simulator/src/hotkey_binder/model/shortcuts.plugin.ts
Original file line number Diff line number Diff line change
@@ -1,21 +1,7 @@
interface ShortcutOptions {
type?: string
propagate?: boolean
disable_in_input?: boolean
target?: Document | string
keycode?: number | false
}

interface ShortcutBinding {
callback: EventListener
target: Document | HTMLElement
event: string
}

interface ModifierState {
wanted: boolean
pressed: boolean
}
import { ShortcutOptions } from './modelInterfaces'
import { ShortcutBinding } from './modelInterfaces'
import { ModifierState } from './modelInterfaces';


export const shortcut = {
all_shortcuts: {} as Record<string, ShortcutBinding>,
Expand Down

0 comments on commit 45aefdc

Please sign in to comment.