This commit is contained in:
Don McCurdy 2019-03-29 21:43:38 -07:00
parent 39facfd621
commit c2edd82e39
7 changed files with 17 additions and 5 deletions

View File

@ -2013,6 +2013,12 @@ Common.extend(GUI.prototype,
close: function close() { close: function close() {
this.closed = true; this.closed = true;
}, },
hide: function hide() {
this.domElement.style.display = 'none';
},
show: function show() {
this.domElement.style.display = '';
},
onResize: function onResize() { onResize: function onResize() {
var root = this.getRoot(); var root = this.getRoot();
if (root.scrollable) { if (root.scrollable) {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -2007,6 +2007,12 @@ Common.extend(GUI.prototype,
close: function close() { close: function close() {
this.closed = true; this.closed = true;
}, },
hide: function hide() {
this.domElement.style.display = 'none';
},
show: function show() {
this.domElement.style.display = '';
},
onResize: function onResize() { onResize: function onResize() {
var root = this.getRoot(); var root = this.getRoot();
if (root.scrollable) { if (root.scrollable) {

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.5", "version": "0.7.6",
"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.5", "version": "0.7.6",
"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",