mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-14 00:04:17 +09:00
Change scrolling windows direction fixes #1167
This commit is contained in:
2
utils.js
2
utils.js
@@ -416,7 +416,7 @@ var activateSiblingWindow = function(windows, direction, startWindow) {
|
||||
let windowIndex = windows.indexOf(global.display.focus_window);
|
||||
let nextWindowIndex = windowIndex < 0 ?
|
||||
startWindow ? windows.indexOf(startWindow) : 0 :
|
||||
windowIndex + (direction == 'up' ? 1 : -1);
|
||||
windowIndex + (direction == 'up' ? -1 : 1);
|
||||
|
||||
if (nextWindowIndex == windows.length) {
|
||||
nextWindowIndex = 0;
|
||||
|
||||
Reference in New Issue
Block a user