39 lines
821 B
HTML
39 lines
821 B
HTML
<ModalDialog
|
|
{id}
|
|
{label}
|
|
background="var(--muted-modal-bg)"
|
|
muted="true"
|
|
className="shortcut-help-modal-dialog">
|
|
|
|
<h1>Hotkeys</h1>
|
|
|
|
<ShortcutHelpInfo inDialog={true} />
|
|
|
|
<Shortcut scope='modal' key='h|?' on:pressed='close()'/>
|
|
</ModalDialog>
|
|
<style>
|
|
h1 {
|
|
color: var(--muted-modal-text);
|
|
}
|
|
</style>
|
|
<script>
|
|
import ModalDialog from './ModalDialog.html'
|
|
import ShortcutHelpInfo from '../../ShortcutHelpInfo.html'
|
|
import Shortcut from '../../shortcut/Shortcut.html'
|
|
import { show } from '../helpers/showDialog'
|
|
import { close } from '../helpers/closeDialog'
|
|
import { oncreate } from '../helpers/onCreateDialog'
|
|
|
|
export default {
|
|
oncreate,
|
|
components: {
|
|
ModalDialog,
|
|
Shortcut,
|
|
ShortcutHelpInfo
|
|
},
|
|
methods: {
|
|
show,
|
|
close
|
|
}
|
|
}
|
|
</script>
|