mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
Added updateDisplay on GUI object
This commit is contained in:
parent
8f0eba8ade
commit
678d82e9ce
@ -790,6 +790,15 @@ define([
|
||||
this.__listening.push(controller);
|
||||
if (init) updateDisplays(this.__listening);
|
||||
|
||||
},
|
||||
|
||||
updateDisplay: function() {
|
||||
for (var c in this.__controllers) {
|
||||
this.__controllers[c].updateDisplay();
|
||||
}
|
||||
for (var f in this.__folders) {
|
||||
this.__folders[f].updateDisplay();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user