mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
Merge pull request #1 from Ucodia/master
Added updateDisplay on GUI object
This commit is contained in:
commit
68e35d2b0d
@ -790,6 +790,15 @@ define([
|
|||||||
this.__listening.push(controller);
|
this.__listening.push(controller);
|
||||||
if (init) updateDisplays(this.__listening);
|
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