mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
Fixed closed param (fixes #202)
This commit is contained in:
parent
a3085880ce
commit
e67269a3f7
@ -336,7 +336,9 @@ const GUI = function(pars) {
|
||||
|
||||
// Are we a root level GUI?
|
||||
if (common.isUndefined(params.parent)) {
|
||||
params.closed = false;
|
||||
if (!params.closed) {
|
||||
this.closed = params.closed;
|
||||
}
|
||||
|
||||
dom.addClass(this.domElement, GUI.CLASS_MAIN);
|
||||
dom.makeSelectable(this.domElement, false);
|
||||
|
Loading…
Reference in New Issue
Block a user