From eaa766f71196ed344ec28aa2c2bc157a41bd8ef0 Mon Sep 17 00:00:00 2001 From: Andrew <45957548+midnight4577@users.noreply.github.com> Date: Mon, 24 Jan 2022 11:57:34 -0800 Subject: [PATCH] Fixed small bug Small bugfix where the warning would be in a strange colour as it is monochrome --- apps/aptsciclk/app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/aptsciclk/app.js b/apps/aptsciclk/app.js index b060541b5..6dbad3654 100644 --- a/apps/aptsciclk/app.js +++ b/apps/aptsciclk/app.js @@ -144,6 +144,7 @@ var curWarning = Math.floor(Math.random() * (maxWarning+1)); function buttonPressed(){ if (curWarning < maxWarning) curWarning += 1; else curWarning = 0; + g.reset(); buttonImg = getImg("butPress"); g.drawImage(buttonImg, 0, 0);