diff --git a/libraries/p5.gui.js b/libraries/p5.gui.js index c758c2c..c505752 100644 --- a/libraries/p5.gui.js +++ b/libraries/p5.gui.js @@ -153,7 +153,13 @@ qs.setPosition(x, y); return this; }; - + this.setDraggable = function(draggable) { + qs.setDraggable(draggable); + } + this.setCollapsible = function(collapsible) { + qs.setCollapsible(collapsible); + } + // Extend Quicksettings // so it can magically create a GUI for parameters passed by name qs.bindParams = function(object, params) {