mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
feat(launcher): intercept left/right key actions in grid view only
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user