Skip to content

Enable / disable cursor after alphaTab is loaded #876

@Danielku15

Description

@Danielku15

Discussed in #873

Originally posted by solveit68 May 24, 2022
Hello there,

Unfortunately, I am not able to switch the player cursor in my WPF application on or off at the desired time. I probably have to call a render function, but I don't know which one it is.

So once loaded, the cursor is either permanently on or off. Since I sometimes only display individual notes for practice purposes, the cursor is very annoying there.
Can someone please give me a tip?

AlphaTab.Settings.Player.EnableCursor = false;/true
AlphaTab.Render ...

Thank you.

New Features

  • On settings update we should create/destroy also the cursors dynamically like we already do for the player. The enabling/disabling should then also have no effect on the player state. And on top: we need to consider that the user interaction (selection and seeking) is independent from the playback cursors.
  • We need to ensure that on all platforms the cursor color can be changed dynamically. e.g. on WPF the colors are statically copied once on cursor creation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-playerRelated to the audio playback engine.platform-allAffects all platformsstate-acceptedThis is a valid topic to work on.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions