mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
folio: Fix typo with keyboard navigation logic
This commit is contained in:
parent
51258e396e
commit
44e5ed6bbf
1 changed files with 2 additions and 2 deletions
|
|
@ -375,14 +375,14 @@ Item {
|
|||
event.accepted = true;
|
||||
break;
|
||||
case Qt.Key_Left:
|
||||
if (folio.HomeScreenState.favoritesBarLocation === Folio.HomeScreenState.Left) {
|
||||
if (folio.HomeScreenState.favouritesBarLocation === Folio.HomeScreenState.Left) {
|
||||
// Go to left page if mounted on the left
|
||||
folio.HomeScreenState.goToPage(folio.HomeScreenState.currentPage - 1, false);
|
||||
event.accepted = true;
|
||||
}
|
||||
break;
|
||||
case Qt.Key_Right:
|
||||
if (folio.HomeScreenState.favoritesBarLocation === Folio.HomeScreenState.Right) {
|
||||
if (folio.HomeScreenState.favouritesBarLocation === Folio.HomeScreenState.Right) {
|
||||
// Go to right page if mounted on the right
|
||||
folio.HomeScreenState.goToPage(folio.HomeScreenState.currentPage + 1, false);
|
||||
event.accepted = true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue