1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 13:32:50 -05:00

launcher v2: smarter right/left arrow key handler

This commit is contained in:
bbedward
2026-01-20 18:02:23 -05:00
parent 1d5d876e16
commit 2b2977de4a

View File

@@ -151,11 +151,19 @@ FocusScope {
controller.selectPageUp(8);
return;
case Qt.Key_Right:
if (controller.getCurrentSectionViewMode() !== "list") {
controller.selectRight();
return;
}
event.accepted = false;
return;
case Qt.Key_Left:
if (controller.getCurrentSectionViewMode() !== "list") {
controller.selectLeft();
return;
}
event.accepted = false;
return;
case Qt.Key_J:
if (hasCtrl) {
controller.selectNext();