add keystroke hints

This commit is contained in:
marlon-erler
2026-09-29 22:24:34 +02:00
parent 7a532bbf5c
commit d3f3a1db21
25 changed files with 494 additions and 266 deletions
+5 -1
View File
@@ -1,4 +1,5 @@
import { ViewController } from "../viewController";
import { CommonKeys, getKeySymbol } from "../keystrokes";
import { DangerousActionButton } from "../Components/dangerousActionButton";
import { ColorPicker } from "../Components/colorPicker";
import * as React from "../../react";
@@ -60,7 +61,10 @@ export function BoardSettingsModal(
)}
</div>
</main>
<button on:click={boardViewModel.hideSettings}>
<button
on:click={boardViewModel.hideSettings}
ctkeystroke={getKeySymbol(CommonKeys.Apply)}
>
{coreViewModel.translations.general.closeButton}
<span class="icon">close</span>
</button>