mirror of
https://git.sr.ht/~emersion/gamja
synced 2024-11-15 03:35:10 -05:00
components/help: remove "/" keybinding, document middle mouse click
This commit is contained in:
parent
690845c2af
commit
5e34067d38
1 changed files with 7 additions and 7 deletions
|
@ -26,14 +26,14 @@ function KeyBindingsHelp() {
|
||||||
`;
|
`;
|
||||||
});
|
});
|
||||||
|
|
||||||
return html`
|
if (!window.matchMedia("(pointer: none)").matches) {
|
||||||
<dl>
|
l.push(html`
|
||||||
<dt><kbd>/</kbd></dt>
|
<dt><strong>Middle mouse click</strong></dt>
|
||||||
<dd>Start writing a command</dd>
|
<dd>Close buffer</dd>
|
||||||
|
`);
|
||||||
|
}
|
||||||
|
|
||||||
${l}
|
return html`<dl>${l}</dl>`;
|
||||||
</dl>
|
|
||||||
`;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function CommandsHelp() {
|
function CommandsHelp() {
|
||||||
|
|
Loading…
Reference in a new issue