diff --git a/__tests__/src/actions/window.test.js b/__tests__/src/actions/window.test.js index dd02d2a0af08e7c55c138c917c7b98c4378bf96e..a9aadc5b86c859f6c438b8944328f62d8480f000 100644 --- a/__tests__/src/actions/window.test.js +++ b/__tests__/src/actions/window.test.js @@ -19,7 +19,7 @@ describe('window actions', () => { maximized: false, rangeId: null, x: 2760, - y: 2760, + y: 2800, sideBarPanel: 'info', width: 400, height: 400, diff --git a/src/state/actions/window.js b/src/state/actions/window.js index 197b117434651bb4de0d6e09fc7d244945c80fcb..aa763fbb3d6f7e330b1f66976505d06adc684683 100644 --- a/src/state/actions/window.js +++ b/src/state/actions/window.js @@ -34,7 +34,7 @@ export function addWindow(options) { width: 400, height: 400, x: 2700 + (Math.floor(numWindows / 10) * 50 + (numWindows * 30) % 300), - y: 2700 + ((numWindows * 30) % 300), + y: 2700 + ((numWindows * 50) % 300), companionWindowIds: [cwDefault, cwThumbs], sideBarPanel: 'info', rotation: null,