Skip to content

Commit

Permalink
Adding a particle automatically selects it (this forces its workspace…
Browse files Browse the repository at this point in the history
… creation)
  • Loading branch information
Nrosa01 committed May 6, 2024
1 parent bda3487 commit ab2ee01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/ParticleButtons.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ function removeSelected() {
function add() {
store.addParticle(ParticleModel.create());
store.selectParticle(store.particle_array.length - 1);
playAdd();
}
Expand Down

0 comments on commit ab2ee01

Please sign in to comment.