Add new setting modeling.highlightEdges
(#2166)
* Add doc comment to getThemeColorForEngine * Add a user-level setting for highlightEdges * Add a custom settings action to update the edge line visibility * Make the settings pane always open to user settings first * Refactor engineConnectionMananer.start() to take a settings object * Revert alway open user settings * Set highlight edges on engine start up * fmt fml * Fix tsc error
This commit is contained in:
@ -306,6 +306,18 @@ export function createSettings() {
|
||||
</>
|
||||
),
|
||||
}),
|
||||
/**
|
||||
* Whether to highlight edges of 3D objects
|
||||
*/
|
||||
highlightEdges: new Setting<boolean>({
|
||||
defaultValue: true,
|
||||
description: 'Whether to highlight edges of 3D objects',
|
||||
validate: (v) => typeof v === 'boolean',
|
||||
commandConfig: {
|
||||
inputType: 'boolean',
|
||||
},
|
||||
hideOnLevel: 'project',
|
||||
}),
|
||||
/**
|
||||
* Whether to show the debug panel, which lets you see
|
||||
* various states of the app to aid in development
|
||||
|
Reference in New Issue
Block a user