Issue type
Other type of issue
Description with steps to reproduce
In the MuseScore API, the property beamPos of a beam returns the x and y coordinates as a QPair. But as far as I can tell, there is no way to access the members of a QPair from within the API.
Currently I have to do the following hack:
var beamPosY = parseFloat(currBeam.beamPos.toString().match(/-?[\d\.]+/g)[1]);
It would be good if there was some native way to access the values (e.g. beamPos returned as a QPoint, rather than a QPair, so that I can then use beamPos.x and beamPos.y)
Supporting files, videos and screenshots
N/A
In which versions of MuseScore Studio is this issue present?
4.6.5
Regression
No.
Operating system
macOS 26.4.1
Additional context
No response
Checklist
Issue type
Other type of issue
Description with steps to reproduce
In the MuseScore API, the property
beamPosof a beam returns the x and y coordinates as a QPair. But as far as I can tell, there is no way to access the members of a QPair from within the API.Currently I have to do the following hack:
var beamPosY = parseFloat(currBeam.beamPos.toString().match(/-?[\d\.]+/g)[1]);It would be good if there was some native way to access the values (e.g. beamPos returned as a QPoint, rather than a QPair, so that I can then use beamPos.x and beamPos.y)
Supporting files, videos and screenshots
N/A
In which versions of MuseScore Studio is this issue present?
4.6.5
Regression
No.
Operating system
macOS 26.4.1
Additional context
No response
Checklist