return null instead of calling null

master
Spencer Churchill 2022-09-04 11:55:56 -07:00
parent 9cab0af8b4
commit f48fb40593
2 changed files with 2 additions and 1 deletions

View File

@ -1 +1,2 @@
0.01: New Widget! 0.01: New Widget!
0.02: Fix calling null on draw

View File

@ -15,7 +15,7 @@ they don't interfere with currently-running apps */
// add widget // add widget
WIDGETS.twenties = { WIDGETS.twenties = {
buzz: buzz, buzz: buzz,
draw: null, draw: _ => { return null; },
}; };
setInterval(WIDGETS.twenties.buzz, move); // buzz to stand / sit setInterval(WIDGETS.twenties.buzz, move); // buzz to stand / sit