mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
had to update setName() to name() again
This commit is contained in:
parent
5376bfd13b
commit
d8dc82515e
@ -49,7 +49,7 @@
|
|||||||
gui.add(fizzyText, "framesRendered").listen();
|
gui.add(fizzyText, "framesRendered").listen();
|
||||||
|
|
||||||
// Fires a function called "explode"
|
// Fires a function called "explode"
|
||||||
gui.add(fizzyText, "explode").setName("Explode!"); // Specify a custom name.
|
gui.add(fizzyText, "explode").name("Explode!"); // Specify a custom name.
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -97,7 +97,7 @@ window.onload = function() {
|
|||||||
gui.add(fizzyText, "framesRendered").listen();
|
gui.add(fizzyText, "framesRendered").listen();
|
||||||
|
|
||||||
// Fires a function called "explode"
|
// Fires a function called "explode"
|
||||||
gui.add(fizzyText, "explode").setName("Explode!"); // Specify a custom name.
|
gui.add(fizzyText, "explode").name("Explode!"); // Specify a custom name.
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user