Skip to content

Commit

Permalink
+ nextProjectInEditor()
Browse files Browse the repository at this point in the history
  • Loading branch information
stefian committed Oct 3, 2020
1 parent 23d02f2 commit 0b8e29a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,9 @@
<button class="edit btn btn-warning" @click="show = !show">
Clone
</button>
<button class="edit btn btn-warning" @click="runOneOps">+</button>
<button class="edit btn btn-warning" @click="nextProjectInEditor">
+
</button>
<button
class="edit player btn btn-success"
@click="pause ? start() : stop()"
Expand Down Expand Up @@ -1406,6 +1408,12 @@ on world's most interesting projects.`,
clearInterval(this.interval);
this.backgroundText = this.devText;
},
nextProjectInEditor() {
this.matrixEdit = matrixEdit()[this.randomInt(0, 9)];
this.cellToEdit = this.matrixEdit[this.randomInt(0, 9)][
this.randomInt(0, 1)
];
},
runOneOps() {
// Read/update current Service and Project tables/matrix - to include user edits
this.readProject();
Expand Down

0 comments on commit 0b8e29a

Please sign in to comment.