Skip to content

Commit

Permalink
Fix index bug
Browse files Browse the repository at this point in the history
  • Loading branch information
drewyoungren committed Nov 13, 2023
1 parent ba5331b commit b0ac022
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions media/src/Panel.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,9 @@
},
field: () => {
const comps = ['1', '-1', 'x', 'y', 'z', '-x', '-y', '-z'];
const p = comps[Math.ceil(comps.length * Math.random())];
const q = comps[Math.ceil(comps.length * Math.random())];
const r = comps[Math.ceil(comps.length * Math.random())];
const p = comps[Math.floor(comps.length * Math.random())];
const q = comps[Math.floor(comps.length * Math.random())];
const r = comps[Math.floor(comps.length * Math.random())];
return { p, q, r, nVec: '6' };
},
Expand Down

0 comments on commit b0ac022

Please sign in to comment.