mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-28 17:20:13 +02:00
Add some more commands to commands palette.
Some refactoring also. Move palette events to commands.js.
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
import { h, Component } from 'preact';
|
||||
import Modal from './Modal';
|
||||
import { AutoFocusInput } from './common';
|
||||
import { commands } from '../commands';
|
||||
import {
|
||||
commandPaletteService,
|
||||
SWITCH_FILE_EVENT
|
||||
} from '../commandPaletteService';
|
||||
import { commands, SWITCH_FILE_EVENT } from '../commands';
|
||||
|
||||
import { commandPaletteService } from '../commandPaletteService';
|
||||
import { FileIcon } from './FileIcon';
|
||||
import { UP_KEY, DOWN_KEY, ENTER_KEY } from '../keyboardKeys';
|
||||
|
||||
|
Reference in New Issue
Block a user