From 3fb020624312ffa397e06d1e58b1c687a8c8ca50 Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Thu, 22 Aug 2019 11:11:15 +0300 Subject: [PATCH] reverse scrolling for vds/activities switching --Latte should use the same workflow paradigm for switching vds and activities with the plasma pager approach. This commit complies with this. BUG:411086 FIXED-IN:0.9.2 --- .../package/contents/ui/layouts/EnvironmentActions.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/containment/package/contents/ui/layouts/EnvironmentActions.qml b/containment/package/contents/ui/layouts/EnvironmentActions.qml index 04a8663fe..05fb3081c 100644 --- a/containment/package/contents/ui/layouts/EnvironmentActions.qml +++ b/containment/package/contents/ui/layouts/EnvironmentActions.qml @@ -126,17 +126,17 @@ Loader { if (angle>10) { if (root.scrollAction === Latte.Types.ScrollDesktops) { - latteView.windowsTracker.switchToNextVirtualDesktop(); + latteView.windowsTracker.switchToPreviousVirtualDesktop(); } else if (root.scrollAction === Latte.Types.ScrollActivities) { - latteView.windowsTracker.switchToNextActivity(); + latteView.windowsTracker.switchToPreviousActivity(); } else if (tasksLoader.active) { tasksLoader.item.activateNextPrevTask(true); } } else if (angle<-10) { if (root.scrollAction === Latte.Types.ScrollDesktops) { - latteView.windowsTracker.switchToPreviousVirtualDesktop(); + latteView.windowsTracker.switchToNextVirtualDesktop(); } else if (root.scrollAction === Latte.Types.ScrollActivities) { - latteView.windowsTracker.switchToPreviousActivity(); + latteView.windowsTracker.switchToNextActivity(); } else if (tasksLoader.active) { tasksLoader.item.activateNextPrevTask(false); }