-
Notifications
You must be signed in to change notification settings - Fork 261
Setting playbackRange does not update visual selection #412
Copy link
Copy link
Closed
Labels
area-playerRelated to the audio playback engine.Related to the audio playback engine.platform-javascriptRelated to the JavaScript version of alphaTabRelated to the JavaScript version of alphaTabplatform-netRelated to the .net version of alphaTabRelated to the .net version of alphaTabstate-acceptedThis is a valid topic to work on.This is a valid topic to work on.
Milestone
Metadata
Metadata
Assignees
Labels
area-playerRelated to the audio playback engine.Related to the audio playback engine.platform-javascriptRelated to the JavaScript version of alphaTabRelated to the JavaScript version of alphaTabplatform-netRelated to the .net version of alphaTabRelated to the .net version of alphaTabstate-acceptedThis is a valid topic to work on.This is a valid topic to work on.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Your environment
Expected Results
When setting the playback range via API call, the visual selection indicators should update automatically.
Observed Results
Only the player is affected by the change, but the selection indicators do not update.
Steps to Reproduce (for bugs)
api.playbackRange = {startTick: 300, endTick: 800 }Possible Solution
We would need to lookup first the start&end beat using the given ticks from the tick cache. Then we can just update the selections internally.