Skip to content

Handle empty bars and pre-beat grace notes on new lookup logic#1347

Merged
Danielku15 merged 4 commits into
developfrom
feature/fix-empty-bar-cursors
Jan 21, 2024
Merged

Handle empty bars and pre-beat grace notes on new lookup logic#1347
Danielku15 merged 4 commits into
developfrom
feature/fix-empty-bar-cursors

Conversation

@Danielku15
Copy link
Copy Markdown
Member

Issues

Fixes #1339

Proposed changes

Fixes the two scenarios described in the bug report:

  • We need to accept the beat of empty voices in the lookup to have the cursor considered.
  • We need to ensure we add pre-beat grace notes also to the previous bar lookup if possible
  • We need to ensure we take the original beat playback start for the visibility check, not the slice start.

Checklist

  • I consent that this change becomes part of alphaTab under it's current or any future open source license
  • Changes are implemented
  • Existing builds tests pass
  • New tests were added

Further details

  • This is a breaking change
  • This change will require update of the documentation/website

@Danielku15 Danielku15 self-assigned this Jan 21, 2024
@Danielku15 Danielku15 changed the title Feature/fix empty bar cursors Handle empty bars and pre-beat grace notes on new lookup logic Jan 21, 2024
@Danielku15 Danielku15 merged commit af75ecb into develop Jan 21, 2024
@Danielku15 Danielku15 deleted the feature/fix-empty-bar-cursors branch January 21, 2024 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

After upgrading to Commits #1334, it was found that when there is an empty bar, the cursor does not appear.

1 participant