Add minimum and maximum to schema for fontSize (#49428)

上级 66ec33f4
......@@ -1261,6 +1261,8 @@ class EditorFontSize extends SimpleEditorOption<EditorOption.fontSize, number> {
EditorOption.fontSize, 'fontSize', EDITOR_FONT_DEFAULTS.fontSize,
{
type: 'number',
minimum: 6,
maximum: 100,
default: EDITOR_FONT_DEFAULTS.fontSize,
description: nls.localize('fontSize', "Controls the font size in pixels.")
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册