Skip to content

Commit

Permalink
UI: Start GUI closed and rename to Settings
Browse files Browse the repository at this point in the history
  • Loading branch information
leccelecce committed Aug 17, 2024
1 parent 5503098 commit d3f8788
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion public/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -417,11 +417,14 @@ function doGuiSetup() {
};

// see https://lil-gui.georgealways.com/#
const gui = new GUI();
const gui = new GUI({ title: 'Settings' });

gui.add(effectController, 'showNodes', true).onChange(nodeChanger);
gui.add(effectController, 'refreshNodes');

// start hidden
gui.close();

}

function removeNodes() {
Expand Down

0 comments on commit d3f8788

Please sign in to comment.