Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

Commit

Permalink
test windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Tbaut committed Feb 21, 2019
1 parent 8fec211 commit 339f1f5
Showing 1 changed file with 12 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,19 +75,20 @@ function setupWin32Listeners (fetherApp) {
*/
win.hookWindowMessage(Number.parseInt('0x0232'), (wParam, lParam) => {
pino.info('Detected completion of move or resize event');
/*
// Move Fether window back up into view if it was a resize event
// that causes the bottom to be cropped
moveWindowUp(fetherApp);
// Move Fether window back up into view if it was a resize event
// that causes the bottom to be cropped
moveWindowUp(fetherApp);
// Try again after a delay incase Fether window resize occurs
// x seconds after navigating to a new page.
setTimeout(() => {
moveWindowUp(fetherApp);
}, 5000);
// Try again after a delay incase Fether window resize occurs
// x seconds after navigating to a new page.
setTimeout(() => {
moveWindowUp(fetherApp);
}, 5000);

// Save Fether window position to Electron settings
processSaveWinPosition(fetherApp);
// Save Fether window position to Electron settings
processSaveWinPosition(fetherApp);
*/
});
}
}
Expand Down

0 comments on commit 339f1f5

Please sign in to comment.