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