diff --git a/src/dat/gui/GUI.js b/src/dat/gui/GUI.js index b7f290a..801c6c7 100644 --- a/src/dat/gui/GUI.js +++ b/src/dat/gui/GUI.js @@ -628,6 +628,11 @@ common.extend( return gui; }, + /** + * Removes a subfolder GUI instance. + * {dat.gui.GUI} folder The folder to remove. + * @instance + */ removeFolder: function(folder) { this.__ul.removeChild(folder.domElement.parentElement);