mirror of
https://git.sr.ht/~emersion/gamja
synced 2024-11-14 19:25:26 -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`
|
||||
<dl>
|
||||
<dt><kbd>/</kbd></dt>
|
||||
<dd>Start writing a command</dd>
|
||||
if (!window.matchMedia("(pointer: none)").matches) {
|
||||
l.push(html`
|
||||
<dt><strong>Middle mouse click</strong></dt>
|
||||
<dd>Close buffer</dd>
|
||||
`);
|
||||
}
|
||||
|
||||
${l}
|
||||
</dl>
|
||||
`;
|
||||
return html`<dl>${l}</dl>`;
|
||||
}
|
||||
|
||||
function CommandsHelp() {
|
||||
|
|
Loading…
Reference in a new issue