^^^
This commit is contained in:
parent
4782cc9ccd
commit
0ef3ba1547
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue