mirror of
https://github.com/Eugeny/tabby.git
synced 2025-01-30 14:20:18 +08:00
Ensure that users with old default config don't end up with an out of bounds window
This commit is contained in:
parent
be2f2f4575
commit
0238515b42
@ -30,7 +30,8 @@ export class DockingService {
|
||||
}
|
||||
|
||||
const newBounds: Bounds = { x: 0, y: 0, width: 0, height: 0 }
|
||||
const fill = this.config.store.appearance.dockFill
|
||||
|
||||
const fill = this.config.store.appearance.dockFill <= 1 ? this.config.store.appearance.dockFill : 1;
|
||||
const [minWidth, minHeight] = this.hostApp.getWindow().getMinimumSize()
|
||||
|
||||
if (dockSide === 'left' || dockSide === 'right') {
|
||||
|
Loading…
Reference in New Issue
Block a user