mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 17:51:24 +01:00
refactor: hotkeys
This commit is contained in:
parent
a15f60150f
commit
0dd7468184
9 changed files with 220 additions and 165 deletions
|
|
@ -7,6 +7,7 @@ import {assignSpeakerBehavior} from "./speaker";
|
|||
import {addResizeListener} from "modules/ui/options";
|
||||
// @ts-ignore
|
||||
import {addDragToUpload} from "modules/io/load";
|
||||
import {addHotkeyListeners} from "modules/ui/hotkeys";
|
||||
|
||||
export function addGlobalListeners() {
|
||||
if (PRODUCTION) {
|
||||
|
|
@ -18,6 +19,7 @@ export function addGlobalListeners() {
|
|||
assignLockBehavior();
|
||||
addTooptipListers();
|
||||
addResizeListener();
|
||||
addHotkeyListeners();
|
||||
assignSpeakerBehavior();
|
||||
addDragToUpload();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue