Skip to content

Commit

Permalink
fix(tracks): make clicks on current track button triggers its control…
Browse files Browse the repository at this point in the history
… button for better accessibility
  • Loading branch information
domi7777 committed Nov 7, 2024
1 parent 5beb862 commit 2bd80b6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/scenes/LoopTracksScene.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,9 @@ export class LoopTracksScene extends Phaser.Scene {
} else {
this.game.scene.start(EmptyScene.key, {index});
}
} else {
track.loop.handleClick();
this.updateControlsState();
}
}

Expand Down

0 comments on commit 2bd80b6

Please sign in to comment.