-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot access RewindMode enum #22505
Comments
This is not the correct way to use the enum: |
Indeed, that way it works. I guess we misunderstood how it works, from the documentation it seemed like you had to call it with |
A better way than the documentation is to look at existing plugins (for example, my github profile) :) |
I'll definitely keep this in mind, thanks for the help. |
Oops, I guess then this issue can get closes |
There is another problem though: feeding invalid stuff as an argument to |
Issue type
UX/Interaction bug (incorrect behaviour)
Bug description
When writing a plugin for Musescore and trying to use the enum
RewindMode
from theCursor
class, you get the following error message (or similar error messages, depending on which enum value you're trying to access):ExampleFiles.zip
Steps to reproduce
Cannot read property 'SELECTION_START' of undefined
Screenshots/Screen recordings
No response
MuseScore Version
4.2.1-240230937
Regression
No.
Operating system
Windows 10
Additional context
Link to the original discussion on the forum.
The text was updated successfully, but these errors were encountered: