@@ -176,7 +176,7 @@ ipcMain.handle("show-gif-dialog", async (event) => {
176
176
if ( currentDialog . type === "gif" ) return
177
177
}
178
178
const bounds = window ?. getBounds ( ) !
179
- currentDialog = new BrowserWindow ( { width : 190 , height : 175 , x : bounds . x + bounds . width - 190 - 170 , y : bounds . y + 60 , resizable : false , show : false , transparent : true , frame : false , backgroundColor : "#3177f5" , webPreferences : { nodeIntegration : true , contextIsolation : false , webSecurity : false } } )
179
+ currentDialog = new BrowserWindow ( { width : 190 , height : 175 , x : bounds . x + bounds . width - 190 - 170 , y : bounds . y + 60 , resizable : false , show : false , transparent : true , frame : false , backgroundColor : "#3177f5" , roundedCorners : false , webPreferences : { nodeIntegration : true , contextIsolation : false , webSecurity : false } } )
180
180
currentDialog . loadFile ( path . join ( __dirname , "gifdialog.html" ) )
181
181
currentDialog . removeMenu ( )
182
182
currentDialog . setAlwaysOnTop ( true )
@@ -1246,7 +1246,7 @@ if (!singleLock) {
1246
1246
} )
1247
1247
1248
1248
app . on ( "ready" , ( ) => {
1249
- window = new BrowserWindow ( { width : 900 , height : 650 , minWidth : 520 , minHeight : 250 , show : false , frame : false , backgroundColor : "#3177f5" , center : true , webPreferences : { nodeIntegration : true , contextIsolation : false , enableRemoteModule : true , webSecurity : false } } )
1249
+ window = new BrowserWindow ( { width : 900 , height : 650 , minWidth : 520 , minHeight : 250 , show : false , frame : false , backgroundColor : "#3177f5" , center : true , roundedCorners : false , webPreferences : { nodeIntegration : true , contextIsolation : false , enableRemoteModule : true , webSecurity : false } } )
1250
1250
window . loadFile ( path . join ( __dirname , "index.html" ) )
1251
1251
window . removeMenu ( )
1252
1252
openFile ( )
0 commit comments