Skip to content

Commit

Permalink
Prepare 6.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrosen committed Mar 23, 2022
1 parent 6990f8a commit bde346f
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 11 deletions.
3 changes: 2 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.idea/
bin/
dist/*.html
build-utils/
docs/
examples/
Expand All @@ -12,6 +12,7 @@ tmp/
.gitmodules
deploy-docs.sh
docker-start.sh
docker-build.sh
docker-compose.yml
Dockerfile
start-version.sh
Expand Down
12 changes: 12 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# Version 6.0.2

## Bugs

* Fix paper size so that the bottom of a narrow staff is not cut off.

* Fix example generator for synth

* Fix tablature parameter name and tuning examples

* Fix tablature default tuning for guitar (move A down octave)

# Version 6.0.1

## Bugs
Expand Down
4 changes: 2 additions & 2 deletions dist/abcjs-basic-min.js

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions dist/abcjs-basic.js
Original file line number Diff line number Diff line change
Expand Up @@ -1168,13 +1168,13 @@ function renderEachLineSeparately(div, tune, params, tuneNumber) {

if (k === 0) {
ep.paddingtop = origPaddingTop;
ep.paddingbottom = -20;
ep.paddingbottom = 0;
} else if (k === tunes.length - 1) {
ep.paddingtop = 10;
ep.paddingbottom = origPaddingBottom;
} else {
ep.paddingtop = 10;
ep.paddingbottom = -20;
ep.paddingbottom = 0;
}

if (k < tunes.length - 1) {
Expand Down Expand Up @@ -16696,7 +16696,7 @@ function GuitarPatterns(plugin) {
this.tuning = plugin._super.params.tuning;

if (!this.tuning) {
this.tuning = ['E,', 'A', 'D', 'G', 'B', 'e'];
this.tuning = ['E,', 'A,', 'D', 'G', 'B', 'e'];
}

plugin.tuning = this.tuning;
Expand Down Expand Up @@ -24559,7 +24559,7 @@ module.exports = drawSeparator;

function setPaperSize(renderer, maxwidth, scale, responsive) {
var w = (maxwidth + renderer.padding.right) * scale;
var h = renderer.y * scale;
var h = (renderer.y + renderer.padding.bottom) * scale;
if (renderer.isPrint) h = Math.max(h, 1056); // 11in x 72pt/in x 1.33px/pt
// TODO-PER: We are letting the page get as long as it needs now, but eventually that should go to a second page.
// for accessibility
Expand Down Expand Up @@ -28187,7 +28187,7 @@ module.exports = unhighlight;
\********************/
/***/ (function(module) {

var version = '6.0.1';
var version = '6.0.2';
module.exports = version;

/***/ })
Expand Down
2 changes: 1 addition & 1 deletion dist/abcjs-basic.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/abcjs-plugin-min.js

Large diffs are not rendered by default.

0 comments on commit bde346f

Please sign in to comment.