Skip to content

Commit

Permalink
Clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
Don McCurdy committed Jan 8, 2019
1 parent e17b919 commit d88f3bc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/dat/gui/GUI.js
Original file line number Diff line number Diff line change
Expand Up @@ -336,11 +336,7 @@ const GUI = function(pars) {

// Are we a root level GUI?
if (common.isUndefined(params.parent)) {
if (params.closed) {
this.closed = params.closed;
} else {
params.closed = false;
}
this.closed = params.closed || false;

dom.addClass(this.domElement, GUI.CLASS_MAIN);
dom.makeSelectable(this.domElement, false);
Expand Down

0 comments on commit d88f3bc

Please sign in to comment.