Added callback for font change

This commit is contained in:
onedayitwillmake 2011-05-15 01:33:05 -04:00
parent e2a708b5a9
commit c2a0b0fc12

View File

@ -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.