src/vs/workbench/electron-sandbox/parts/titlebar/titlebarPart.ts/TitlebarPart/getMacTitlebarSize
class TitlebarPart:	private getMacTitlebarSize() {
		const osVersion = this.environmentService.os.release;
		if (parseFloat(osVersion) >= 20) { // Big Sur increases title bar height
			return 28;
		}

		return 22;
	}