MCPcopy
hub / github.com/dataarts/dat.gui / updateDisplay

Method updateDisplay

src/dat/controllers/OptionController.js:78–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76 }
77
78 updateDisplay() {
79 if (dom.isActive(this.__select)) return this; // prevent number from updating if user is trying to manually update
80 this.__select.value = this.getValue();
81 return super.updateDisplay();
82 }
83}
84
85export default OptionController;

Callers 1

constructorMethod · 0.95

Calls 1

getValueMethod · 0.80

Tested by

no test coverage detected