We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a39e81d commit 18c1466Copy full SHA for 18c1466
1 file changed
src/index.js
@@ -76,16 +76,6 @@ const createWindow = () => {
76
// Open the DevTools.
77
//mainWindow.webContents.openDevTools();
78
79
- mainWindow.on('move', () => {
80
- const { x, y, width, height } = mainWindow.getBounds();
81
- const newScreen = screen.getDisplayNearestPoint({ x: x + width / 2, y: y + height / 2 });
82
-
83
- mainWindow.setSize(
84
- Math.round(newScreen.size.width * 0.8),
85
- Math.round(newScreen.size.height * 0.8)
86
- );
87
- });
88
89
mainWindow.once('ready-to-show', () => {
90
if (app.isPackaged) {
91
autoUpdater.setFeedURL({
0 commit comments