added auto participant creation for notes
This commit is contained in:
		| @@ -130,6 +130,21 @@ | |||||||
|       } else if elmt.side == "right" { |       } else if elmt.side == "right" { | ||||||
|         linked.push("]") |         linked.push("]") | ||||||
|       } |       } | ||||||
|  |  | ||||||
|  |       let pars = none | ||||||
|  |       if type(elmt.pos) == str { | ||||||
|  |         pars = (elmt.pos,) | ||||||
|  |       } else if type(elmt.pos) == array { | ||||||
|  |         pars = elmt.pos | ||||||
|  |       } | ||||||
|  |       if pars != none { | ||||||
|  |         for par in pars { | ||||||
|  |           if not participant._exists(participants, par) { | ||||||
|  |             participants.push(_par(par).first()) | ||||||
|  |           } | ||||||
|  |         } | ||||||
|  |       } | ||||||
|  |  | ||||||
|       last-note = ( |       last-note = ( | ||||||
|         elmt: elmt, |         elmt: elmt, | ||||||
|         i: i |         i: i | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user