Add minimum value to window.zoomLevel (#168116)

Fixes https://github.com/microsoft/vscode/issues/155185
This commit is contained in:
Raymond Zhao 2022-12-05 14:56:31 -08:00 committed by GitHub
parent b27ee6b7b5
commit 77c3ff054d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -169,6 +169,7 @@ import product from 'vs/platform/product/common/product';
'window.zoomLevel': {
'type': 'number',
'default': 0,
'minimum': -5,
'description': localize('zoomLevel', "Adjust the zoom level of the window. The original size is 0 and each increment above (e.g. 1) or below (e.g. -1) represents zooming 20% larger or smaller. You can also enter decimals to adjust the zoom level with a finer granularity."),
ignoreSync: true,
tags: ['accessibility']