mirror of https://github.com/espruino/BangleApps
Fixed small bug
Small bugfix where the warning would be in a strange colour as it is monochromepull/1508/head
parent
52a97bb7dc
commit
eaa766f711
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue