Range indicator for the number editor

This commit is contained in:
Aria Minaei 2021-07-16 11:08:09 +02:00
parent 4e4452f0ad
commit 232ffa7836
4 changed files with 63 additions and 9 deletions

View file

@ -295,7 +295,10 @@ const editorSheetObjectConfig = types.compound({
showAxes: types.boolean(true, {label: 'Axes'}),
showGrid: types.boolean(true, {label: 'Grid'}),
showOverlayIcons: types.boolean(false, {label: 'Overlay Icons'}),
resolution: types.number(1440, {label: 'Resolution'}),
resolution: types.number(1440, {
label: 'Resolution',
range: [0, 1000],
}),
shading: types.stringLiteral(
'rendered',
{