Enable axes and shadows by default
This commit is contained in:
parent
4a33262da0
commit
4ade6017c4
1 changed files with 2 additions and 2 deletions
|
|
@ -35,8 +35,8 @@ export function readStateFromFragment(): State | null {
|
|||
customizer: validateBoolean(view?.layout['customizer']),
|
||||
},
|
||||
color: validateString(view?.color, () => defaultModelColor),
|
||||
showAxes: validateBoolean(view?.layout?.showAxis),
|
||||
showShadows: validateBoolean(view?.layout?.showShadow),
|
||||
showAxes: validateBoolean(view?.layout?.showAxis, () => true),
|
||||
showShadows: validateBoolean(view?.layout?.showShadow, () => true),
|
||||
lineNumbers: validateBoolean(view?.layout?.lineNumbers, () => false)
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue