This commit is contained in:
Don McCurdy 2019-01-08 10:21:13 -08:00
parent d88f3bc8af
commit 8cd1b4d2ae
7 changed files with 7 additions and 7 deletions

View File

@ -1825,7 +1825,7 @@ var GUI = function GUI(pars) {
} }
}); });
if (Common.isUndefined(params.parent)) { if (Common.isUndefined(params.parent)) {
params.closed = false; this.closed = 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);
if (SUPPORTS_LOCAL_STORAGE) { if (SUPPORTS_LOCAL_STORAGE) {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1819,7 +1819,7 @@ var GUI = function GUI(pars) {
} }
}); });
if (Common.isUndefined(params.parent)) { if (Common.isUndefined(params.parent)) {
params.closed = false; this.closed = 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);
if (SUPPORTS_LOCAL_STORAGE) { if (SUPPORTS_LOCAL_STORAGE) {

File diff suppressed because one or more lines are too long

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "dat.gui", "name": "dat.gui",
"version": "0.7.4", "version": "0.7.5",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "dat.gui", "name": "dat.gui",
"version": "0.7.4", "version": "0.7.5",
"description": "A lightweight graphical user interface for changing variables in JavaScript.", "description": "A lightweight graphical user interface for changing variables in JavaScript.",
"main": "build/dat.gui.js", "main": "build/dat.gui.js",
"module": "build/dat.gui.module.js", "module": "build/dat.gui.module.js",