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.
@@ -18972,7 +18972,7 @@ TabRenderer.prototype.doLayout = function () {
18972
18972
  var padd = 3;
18973
18973
  var prevIndex = this.staffIndex;
18974
18974
  var previousStaff = staffGroup.staffs[prevIndex];
18975
- var tabTop = previousStaff.top + padd + lyricsHeight;
18975
+ var tabTop = this.tabSize + padd - previousStaff.bottom - lyricsHeight;
18976
18976
 
18977
18977
  if (previousStaff.isTabStaff) {
18978
18978
  tabTop = previousStaff.top;
@@ -28905,7 +28905,7 @@ Svg.prototype.closeGroup = function () {
28905
28905
 
28906
28906
  if (g && g.children.length === 0) {
28907
28907
  // If nothing was added to the group it is because all the elements were invisible. We don't need the group, then.
28908
- this.svg.removeChild(g);
28908
+ g.parentElement.removeChild(g);
28909
28909
  return null;
28910
28910
  }
28911
28911
 
@@ -29151,7 +29151,7 @@ module.exports = unhighlight;
29151
29151
  \********************/
29152
29152
  /***/ (function(module) {
29153
29153
 
29154
- var version = '6.1.2';
29154
+ var version = '6.1.3';
29155
29155
  module.exports = version;
29156
29156
 
29157
29157
  /***/ })