increase/decrease view width/size commands not applying properly in floating window (fix #284290) (#286053)

This commit is contained in:
Benjamin Pasero
2026-01-06 07:05:07 +01:00
committed by GitHub
parent 655abb9afb
commit 9952de32a7

View File

@@ -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) {