Nudging behavior on number props can now be customized

This commit is contained in:
Aria Minaei 2021-08-22 12:58:38 +02:00
parent 74724d7ec1
commit 36017c6a73
7 changed files with 81 additions and 14 deletions

View file

@ -13,7 +13,7 @@ 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, {
resolution: types.number(500, {
label: 'Resolution',
range: [0, 1000],
}),