dataarts / dat.gui

Lightweight controller library for JavaScript.
Apache License 2.0
7.46k stars 1.08k forks source link

Hide / disable "close controls" button #308

Open r0gi opened 2 years ago

r0gi commented 2 years ago

Is it possible to disable the "close controls" button at the bottom of the GUI? I have autoplace set to false and want the GUI to always be visible, so I don't want the button to be displayed at all.

Screenshot for reference Screenshot from 2021-10-22 15-44-06

r0gi commented 2 years ago

A workaround is to hide it directly through the CSS, but I ended up leaving it in and just added extra padding (20 px) to the parent element. Screenshot from 2021-10-22 16-17-58