abc2svg
Check-in [bdd09a3fcc]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:core: fix: still lack of P:/Q: - reported by Gerhard Schacherl
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: bdd09a3fccb0113727ead3fd2c4cde9707153f1f
User & Date: jef 2022-05-24 14:53:04.070
References
2023-03-05
09:25
core: fix: let P: on y spacers - broken since commit [bdd09a3fcc] - reported by Stuart Soloway ... (check-in: ec3eb10da7 user: jef tags: trunk)
Context
2022-05-25
06:39
core: fix: loss of P: after %%staves and voice changes - reported by Gerhard Schacherl ... (check-in: 749620bf38 user: jef tags: trunk)
2022-05-24
14:53
core: fix: still lack of P:/Q: - reported by Gerhard Schacherl ... (check-in: bdd09a3fcc user: jef tags: trunk)
13:16
core: fix: lack of P: at start of tune since previous commit ... (check-in: bc1cd15700 user: jef tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to core/tune.js.
912
913
914
915
916
917
918


919
920
921
922
923
924
925
926
927
		while (s.next && s.next.time < tim)
			s = s.next
		while (s && s.time < tim)
			s = s.ts_next
		if (!s) {
			//fixme: insert at the end
		} else {


			if (s.time == tim && s.next
			 && (s.bar_type || s.type == C.STAVES))
				s = s.next
			if (e.part) {
//				if (s.time != tim) {
//					// fixme: insert a part (?)
//				}
				s.part = e.part
			}







>
>
|
|







912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
		while (s.next && s.next.time < tim)
			s = s.next
		while (s && s.time < tim)
			s = s.ts_next
		if (!s) {
			//fixme: insert at the end
		} else {

			// put the P: and/or Q: on a note or rest
			while (s.time == tim && s.next
			 && !s.dur)
				s = s.next
			if (e.part) {
//				if (s.time != tim) {
//					// fixme: insert a part (?)
//				}
				s.part = e.part
			}