@mcqj/vexflow 0.0.1-alpha.5 → 0.0.1-alpha.6

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.
@@ -402,9 +402,9 @@ export class Formatter {
402
402
  let spaceAccum = 0;
403
403
  contextList.forEach((tick, index) => {
404
404
  const context = contextMap[tick];
405
- if (index > 0) {
405
+ const ideal = idealDistances[index];
406
+ if (index > 0 && ideal.fromTickable) {
406
407
  const contextX = context.getX();
407
- const ideal = idealDistances[index];
408
408
  const errorPx = defined(ideal.fromTickable).getX() + ideal.expectedDistance - (contextX + spaceAccum);
409
409
  let negativeShiftPx = 0;
410
410
  if (errorPx > 0) {
@@ -1,3 +1,3 @@
1
- export const VERSION = '0.0.1-alpha.5';
1
+ export const VERSION = '0.0.1-alpha.6';
2
2
  export const ID = 'a4bb5ff157f4570b2d6149b7199b0baa4c7e3775';
3
- export const DATE = '2026-09-14T15:08:25.126Z';
3
+ export const DATE = '2026-09-14T15:22:17.080Z';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcqj/vexflow",
3
- "version": "0.0.1-alpha.5",
3
+ "version": "0.0.1-alpha.6",
4
4
  "description": "A JavaScript library for rendering music notation and guitar tablature.",
5
5
  "author": {
6
6
  "name": "mcqj",
@@ -1,4 +0,0 @@
1
- {
2
- "status": "passed",
3
- "failedTests": []
4
- }