1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-06-15 23:55:21 -04:00

Add clipboard editor shortcuts and hints

This commit is contained in:
Nachum Barcohen
2026-03-01 01:36:29 +02:00
committed by purian23
parent 584d57a8de
commit 8abdff3220
3 changed files with 62 additions and 6 deletions
@@ -69,7 +69,9 @@ QtObject {
function handleKey(event) {
switch (event.key) {
case Qt.Key_Escape:
if (ClipboardService.keyboardNavigationActive) {
if (modal.mode === "editor") {
modal.mode = "history";
} else if (ClipboardService.keyboardNavigationActive) {
ClipboardService.keyboardNavigationActive = false;
} else {
modal.hide();