Skip to content

Commit

Permalink
Add ZBLL alg set to trainer
Browse files Browse the repository at this point in the history
  • Loading branch information
preethamrn committed Nov 8, 2020
1 parent 48553be commit 42eb0e9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/AlgTrainer/CustomSelector.vue
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export default {
this.algsList.forEach((v,i) => {this.$set(this.algsList, i, false)})
},
drawSVG (alg) {
if (this.algsList.length > 100) return '' // Skip this when the algset is too big.
if (!this.svgMap[alg]) {
let svg = new SVG(Puzzles['3x3x3LL'])
let puzzle = new KPuzzle(Puzzles['3x3x3LL'])
Expand Down

0 comments on commit 42eb0e9

Please sign in to comment.