mirror of
https://github.com/Eugeny/tabby.git
synced 2025-09-12 11:24:36 +00:00
.
This commit is contained in:
@@ -80,7 +80,13 @@ setupWindowManagement = () => {
|
||||
})
|
||||
|
||||
electron.ipcMain.on('window-set-bounds', (event, bounds) => {
|
||||
app.window.setBounds(bounds, true)
|
||||
app.window.setBounds(bounds)
|
||||
setTimeout(() => {
|
||||
let actualBounds = app.window.getBounds()
|
||||
bounds.width += bounds.x - actualBounds.x
|
||||
bounds.height += bounds.y - actualBounds.y
|
||||
app.window.setBounds(bounds)
|
||||
}, 500)
|
||||
})
|
||||
|
||||
electron.ipcMain.on('window-set-always-on-top', (event, flag) => {
|
||||
|
Reference in New Issue
Block a user