MCPcopy Index your code
hub / github.com/PixelsCommander/HTML-GL / setPresetSelectIndex

Function setPresetSelectIndex

page/js/dat.gui.js:2820–2826  ·  view source on GitHub ↗
(gui)

Source from the content-addressed store, hash-verified

2818 }
2819
2820 function setPresetSelectIndex(gui) {
2821 for (var index = 0; index < gui.__preset_select.length; index++) {
2822 if (gui.__preset_select[index].value == gui.preset) {
2823 gui.__preset_select.selectedIndex = index;
2824 }
2825 }
2826 }
2827
2828 function markPresetModified(gui, modified) {
2829 var opt = gui.__preset_select[gui.__preset_select.selectedIndex];

Callers 1

GUIFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected