-
Notifications
You must be signed in to change notification settings - Fork 229
Closed
Labels
area-renderingEverything related to the renderingEverything related to the renderingplatform-javascriptRelated to the JavaScript version of alphaTabRelated to the JavaScript version of alphaTabstate-acceptedThis is a valid topic to work on.This is a valid topic to work on.
Milestone
Description
Your environment
- Version used: (master branch)
develop branch - Platform used: JavaScript or C#
JavaScript - Rendering engine used: SVG (default), HTML5 or GDI
SVG - Browser Name and Version:
Chrome 79.0.3945.130 - Operating System and version (desktop or mobile):
Windows 10 Desktop - Link to your project:
https://music-assistant-fit.web.app/
Expected Results
When you specify a start bar, AlphaTab should be able to render starting at that bar.
Observed Results
When you try and render a bar which has a tie to a previous measure, AlphaTab throws an error:
Uncaught Cannot cast null to {
name : [alphaTab,rendering,ScoreBarRenderer],
paintSingleBar : ,
StaffId : score,
SharpKsSteps : 1,4,0,3,6,2,5,
FlatKsSteps : 5,2,6,3,7,4,8,
LineSpacing : 8,
StemWidth : 1.3
}
Steps to Reproduce (for bugs)
- Create some sheet music with a tie between measures
- Try and render the second measure which has a tie to the previous measure
Possible Solution
Either disallow starting at measures with a tie to a preceding measure thereby reducing functionality or ignore the tie in the AlphaTex and render as expected without throwing the error.
Metadata
Metadata
Assignees
Labels
area-renderingEverything related to the renderingEverything related to the renderingplatform-javascriptRelated to the JavaScript version of alphaTabRelated to the JavaScript version of alphaTabstate-acceptedThis is a valid topic to work on.This is a valid topic to work on.