Hide setting for unit on project level, rename it to be clearer

This commit is contained in:
Frank Noirot
2025-02-07 18:38:45 -05:00
parent 7c830839de
commit 2c186c6cc1

View File

@ -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',