mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
Update hide boolean when GUI hide or show
This commit is contained in:
parent
40f4fc193e
commit
b26dbef1d4
@ -688,6 +688,7 @@ common.extend(
|
||||
* Hides the GUI.
|
||||
*/
|
||||
hide: function() {
|
||||
hide = true;
|
||||
this.domElement.style.display = 'none';
|
||||
},
|
||||
|
||||
@ -695,6 +696,7 @@ common.extend(
|
||||
* Shows the GUI.
|
||||
*/
|
||||
show: function() {
|
||||
hide = false;
|
||||
this.domElement.style.display = '';
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user