mirror of
https://github.com/Eugeny/tabby.git
synced 2024-11-23 13:13:49 +03:00
.
This commit is contained in:
parent
82e0a9238d
commit
d4c3efdea1
@ -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) => {
|
||||
|
@ -120,7 +120,9 @@ export class AppRootComponent {
|
||||
}
|
||||
}
|
||||
}
|
||||
this.docking.dock()
|
||||
setImmediate(() => {
|
||||
this.docking.dock()
|
||||
})
|
||||
}
|
||||
|
||||
getLeftToolbarButtons (): IToolbarButton[] { return this.getToolbarButtons(false) }
|
||||
|
@ -197,6 +197,7 @@ export class TerminalTabComponent extends BaseTabComponent {
|
||||
preferenceManager.set('send-encoding', 'raw')
|
||||
preferenceManager.set('ctrl-plus-minus-zero-zoom', false)
|
||||
preferenceManager.set('scrollbar-visible', this.hostApp.platform == Platform.macOS)
|
||||
preferenceManager.set('copy-on-select', false)
|
||||
|
||||
if (config.terminal.colorScheme.foreground) {
|
||||
preferenceManager.set('foreground-color', config.terminal.colorScheme.foreground)
|
||||
|
Loading…
Reference in New Issue
Block a user