mirror of
https://github.com/microsoft/vscode.git
synced 2026-02-15 07:28:05 +00:00
increase/decrease view width/size commands not applying properly in floating window (fix #284290) (#286053)
This commit is contained in:
@@ -1184,6 +1184,9 @@ abstract class BaseResizeViewAction extends Action2 {
|
||||
protected static readonly RESIZE_INCREMENT = 60; // This is a css pixel size
|
||||
|
||||
protected resizePart(widthChange: number, heightChange: number, layoutService: IWorkbenchLayoutService, partToResize?: Parts): void {
|
||||
if (layoutService.activeContainer !== layoutService.mainContainer) {
|
||||
return; // we do not support resizing in auxiliary windows
|
||||
}
|
||||
|
||||
let part: Parts | undefined;
|
||||
if (partToResize === undefined) {
|
||||
|
||||
Reference in New Issue
Block a user