fix: allow multiple visuals for the same pattern
+ using .tag function instead of single .id
This commit is contained in:
parent
ab015ff48a
commit
b5720355f9
5 changed files with 15 additions and 11 deletions
|
|
@ -91,6 +91,10 @@ export class Hap {
|
|||
return this.whole != undefined && this.whole.begin.equals(this.part.begin);
|
||||
}
|
||||
|
||||
hasTag(tag) {
|
||||
return this.context.tags?.includes(tag);
|
||||
}
|
||||
|
||||
resolveState(state) {
|
||||
if (this.stateful && this.hasOnset()) {
|
||||
console.log('stateful');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue