mirror of
https://github.com/Microsoft/vscode
synced 2024-10-30 19:48:09 +00:00
confine sashes within splitview
This commit is contained in:
parent
8df7b76ed1
commit
f09997e3b3
1 changed files with 1 additions and 1 deletions
|
@ -911,7 +911,7 @@ export class SplitView extends Disposable {
|
|||
position += this.viewItems[i].size;
|
||||
|
||||
if (this.sashItems[i].sash === sash) {
|
||||
return position;
|
||||
return Math.min(position, this.contentSize - 2);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue