mirror of
https://github.com/KDE/latte-dock.git
synced 2024-12-26 23:21:37 +03:00
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
This commit is contained in:
parent
1bec03ec8a
commit
3fb0206243
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user