Hide setting for unit on project level, rename it to be clearer
This commit is contained in:
@ -273,7 +273,9 @@ export function createSettings() {
|
|||||||
*/
|
*/
|
||||||
defaultUnit: new Setting<BaseUnit>({
|
defaultUnit: new Setting<BaseUnit>({
|
||||||
defaultValue: 'mm',
|
defaultValue: 'mm',
|
||||||
description: 'The default unit to use in modeling dimensions',
|
description: 'The default units to be set on new files',
|
||||||
|
title: 'New file units',
|
||||||
|
hideOnLevel: 'project',
|
||||||
validate: (v) => baseUnitsUnion.includes(v as BaseUnit),
|
validate: (v) => baseUnitsUnion.includes(v as BaseUnit),
|
||||||
commandConfig: {
|
commandConfig: {
|
||||||
inputType: 'options',
|
inputType: 'options',
|
||||||
|
|||||||
Reference in New Issue
Block a user