feat(launcher): intercept left/right key actions in grid view only

This commit is contained in:
Keao Chen
2026-01-22 00:20:42 +11:00
committed by kyle
parent e51c39662c
commit 420147621d
+2 -2
View File
@@ -871,10 +871,10 @@ SmartPanel {
} else if (event.key === Qt.Key_Backtab) {
root.onBackTabPressed();
event.accepted = true;
} else if (event.key === Qt.Key_Left) {
} else if (event.key === Qt.Key_Left && root.isGridView) {
root.onLeftPressed();
event.accepted = true;
} else if (event.key === Qt.Key_Right) {
} else if (event.key === Qt.Key_Right && root.isGridView) {
root.onRightPressed();
event.accepted = true;
} else if (event.key === Qt.Key_Up) {