mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
Added callback for font change
This commit is contained in:
parent
e2a708b5a9
commit
c2a0b0fc12
@ -50,7 +50,7 @@
|
||||
gui.add(fizzyText, 'speed', 0.1, 2, 0.05); // shorthand for min/max/step
|
||||
gui.add(fizzyText, 'font', fizzyText.allFonts ) // Font toggle
|
||||
.onChange(function(newValue) {
|
||||
fizzyText.message = fizzyText.message;
|
||||
fizzyText.message = fizzyText.message;
|
||||
});
|
||||
|
||||
// Sliders with min, max and increment.
|
||||
|
Loading…
Reference in New Issue
Block a user