abc2svg
Check-in [749620bf38]
Not logged in

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

Overview
Comment:core: fix: loss of P: after %%staves and voice changes - reported by Gerhard Schacherl
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 749620bf38a8476642d20f9f6108983e939cac6c
User & Date: jef 2022-05-25 06:39:00.579
Context
2022-05-25
17:27
core: fix: random crashes since commit [e2711a0296] - reported by Gerhard Schacherl ... (check-in: eda1c9a273 user: jef tags: trunk)
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)
Changes
Unified Diff Ignore Whitespace Patch
Changes to core/tune.js.
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
		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
			}
			if (e.tempo) {







|

|







914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
		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.ts_next
			 && !s.dur)
				s = s.ts_next
			if (e.part) {
//				if (s.time != tim) {
//					// fixme: insert a part (?)
//				}
				s.part = e.part
			}
			if (e.tempo) {