abcjs 6.0.1 → 6.0.2
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 +12 -0
- package/dist/abcjs-basic-min.js +2 -2
- package/dist/abcjs-basic.js +5 -5
- package/dist/abcjs-basic.js.map +1 -1
- package/dist/abcjs-plugin-min.js +2 -2
- package/package.json +1 -1
- package/src/api/abc_tunebook_svg.js +2 -2
- package/src/tablatures/instruments/guitar/guitar-patterns.js +1 -1
- package/src/write/draw/set-paper-size.js +1 -1
- package/version.js +1 -1
- package/dist/report-basic.html +0 -37
- package/dist/report-before-glyph-compress.html +0 -37
- package/dist/report-brown-ts-target-es5.html +0 -37
- package/dist/report-dev-orig-no-babel.html +0 -37
- package/dist/report-synth.html +0 -37
- package/docker-build.sh +0 -1
- package/glyphs.json +0 -1
- package/temp.txt +0 -15256
package/package.json
CHANGED
|
@@ -120,13 +120,13 @@ function renderEachLineSeparately(div, tune, params, tuneNumber) {
|
|
|
120
120
|
|
|
121
121
|
if (k === 0) {
|
|
122
122
|
ep.paddingtop = origPaddingTop;
|
|
123
|
-
ep.paddingbottom =
|
|
123
|
+
ep.paddingbottom = 0;
|
|
124
124
|
} else if (k === tunes.length-1) {
|
|
125
125
|
ep.paddingtop = 10;
|
|
126
126
|
ep.paddingbottom = origPaddingBottom;
|
|
127
127
|
} else {
|
|
128
128
|
ep.paddingtop = 10;
|
|
129
|
-
ep.paddingbottom =
|
|
129
|
+
ep.paddingbottom = 0;
|
|
130
130
|
}
|
|
131
131
|
if (k < tunes.length-1) {
|
|
132
132
|
// If it is not the last line, force stretchlast. If it is, stretchlast might have been set by the input parameters.
|
|
@@ -3,7 +3,7 @@ var StringPatterns = require('../string-patterns');
|
|
|
3
3
|
function GuitarPatterns(plugin) {
|
|
4
4
|
this.tuning = plugin._super.params.tuning;
|
|
5
5
|
if (!this.tuning) {
|
|
6
|
-
this.tuning = ['E,', 'A', 'D', 'G' , 'B' , 'e'];
|
|
6
|
+
this.tuning = ['E,', 'A,', 'D', 'G' , 'B' , 'e'];
|
|
7
7
|
}
|
|
8
8
|
plugin.tuning = this.tuning;
|
|
9
9
|
this.strings = new StringPatterns(plugin);
|
|
@@ -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)*scale;
|
|
3
|
+
var h = (renderer.y+renderer.padding.bottom)*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.
|
package/version.js
CHANGED