abcjs 6.0.0 → 6.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/RELEASE.md +10 -0
- package/dist/abcjs-basic-min.js +2 -2
- package/dist/abcjs-basic.js +4 -3
- package/dist/abcjs-basic.js.map +1 -1
- package/dist/abcjs-plugin-min.js +2 -2
- package/package.json +1 -1
- package/src/write/abc_abstract_engraver.js +1 -1
- package/src/write/draw/set-paper-size.js +1 -1
- package/temp.txt +15239 -0
- package/version.js +1 -1
package/package.json
CHANGED
|
@@ -729,7 +729,7 @@ var ledgerLines = function(abselem, minPitch, maxPitch, isRest, symbolWidth, add
|
|
|
729
729
|
else
|
|
730
730
|
p1 += 1;
|
|
731
731
|
}
|
|
732
|
-
abselem.addRight(new RelativeElement(null, dx, 0, p1, {"type": "stem", "pitch2":p2, linewidth: width}));
|
|
732
|
+
abselem.addRight(new RelativeElement(null, dx, 0, p1, {"type": "stem", "pitch2":p2, linewidth: width, bottom: p1-1}));
|
|
733
733
|
//var RelativeElement = function RelativeElement(c, dx, w, pitch, opt) {
|
|
734
734
|
min = Math.min(p1, p2);
|
|
735
735
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function setPaperSize(renderer, maxwidth, scale, responsive) {
|
|
2
2
|
var w = (maxwidth+renderer.padding.right)*scale;
|
|
3
|
-
var h = (renderer.y
|
|
3
|
+
var h = (renderer.y)*scale;
|
|
4
4
|
if (renderer.isPrint)
|
|
5
5
|
h = Math.max(h, 1056); // 11in x 72pt/in x 1.33px/pt
|
|
6
6
|
// TODO-PER: We are letting the page get as long as it needs now, but eventually that should go to a second page.
|