abcjs 6.1.2 → 6.1.3
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 +8 -0
- package/dist/abcjs-basic-min.js +2 -2
- package/dist/abcjs-basic.js +3 -3
- package/dist/abcjs-basic.js.map +1 -1
- package/dist/abcjs-plugin-min.js +2 -2
- package/package.json +1 -1
- package/src/tablatures/tab-renderer.js +1 -1
- package/src/write/svg.js +1 -1
- package/version.js +1 -1
package/package.json
CHANGED
|
@@ -198,7 +198,7 @@ TabRenderer.prototype.doLayout = function () {
|
|
|
198
198
|
var padd = 3;
|
|
199
199
|
var prevIndex = this.staffIndex;
|
|
200
200
|
var previousStaff = staffGroup.staffs[prevIndex];
|
|
201
|
-
var tabTop =
|
|
201
|
+
var tabTop = this.tabSize + padd - previousStaff.bottom - lyricsHeight;
|
|
202
202
|
if (previousStaff.isTabStaff) {
|
|
203
203
|
tabTop = previousStaff.top;
|
|
204
204
|
}
|
package/src/write/svg.js
CHANGED
|
@@ -307,7 +307,7 @@ Svg.prototype.closeGroup = function() {
|
|
|
307
307
|
var g = this.currentGroup.shift();
|
|
308
308
|
if (g && g.children.length === 0) {
|
|
309
309
|
// If nothing was added to the group it is because all the elements were invisible. We don't need the group, then.
|
|
310
|
-
|
|
310
|
+
g.parentElement.removeChild(g);
|
|
311
311
|
return null;
|
|
312
312
|
}
|
|
313
313
|
return g;
|
package/version.js
CHANGED