I'm using the dat.gui library in javascript and I have two questions:
- How to change the width of a dat.gui dropdown menu?
- How to de-select a dropdown menu item without selecting another?
Initializing the dropdown
const indexParams = {
index: -1,
};
const indexGUI = gui.addFolder("Index");
indexGUI.open();
const indexDropdown = indexGUI.add(indexParams, "index", [0, 1, 2, 3, 4]);
