Stave Profiles do not respect visible staffs correctly #1656
Labels
area-rendering
Everything related to the rendering
platform-all
Affects all platforms
state-accepted
This is a valid topic to work on.
Is there an existing issue for this?
Current Behavior
The current logic of having stave profiles doesn't match well the model definition which staves to show.
With slash and numbered notation added not all combinations of staffs have a proper profile to choose from.
This can lead in errors on rendering as we cannot find a matching profile and wrong or no bar renderers are created.
Expected Behavior
On the default mode (no custom stave profile) the respective renderers should be created based on the model information.
Steps To Reproduce
Link to jsFiddle, CodePen, Project
No response
Found in Version
1.4 (alpha)
Platform
Web
Environment
Anything else?
alphaTab/src/rendering/layout/ScoreLayout.ts
Lines 264 to 277 in 3a17c8c
The text was updated successfully, but these errors were encountered: