add comment
This commit is contained in:
parent
1c4b05d55f
commit
e72e26eb81
1 changed files with 1 additions and 0 deletions
|
|
@ -217,6 +217,7 @@ export function repl({
|
||||||
let patterns = [];
|
let patterns = [];
|
||||||
let soloActive = false;
|
let soloActive = false;
|
||||||
for (const [key, value] of Object.entries(pPatterns)) {
|
for (const [key, value] of Object.entries(pPatterns)) {
|
||||||
|
// handle soloed patterns ex: S$: s("bd!4")
|
||||||
const isSolod = key.length > 1 && key.startsWith('S');
|
const isSolod = key.length > 1 && key.startsWith('S');
|
||||||
if (isSolod && soloActive === false) {
|
if (isSolod && soloActive === false) {
|
||||||
// first time we see a soloed pattern, clear existing patterns
|
// first time we see a soloed pattern, clear existing patterns
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue