This commit is contained in:
Orllewin 2024-07-30 15:50:24 +01:00
parent 4782cc9ccd
commit 0ef3ba1547
1 changed files with 5 additions and 0 deletions

View File

@ -481,6 +481,11 @@ void draw() {
void mousePressed(){
if(mouseX > 250 && mouseY > 320 && mouseX < 280 && mouseY < 360){
running = !running;
//Just restarted after a pause - reset to beat 1
if(running){
beat = 1;
}
}else if(mouseX > controlX && mouseX < controlX + 10){
isChangingBpm = true;
}