abcjs
abcjs copied to clipboard
Flags not aligned with stem when stem is pointing down
There might be an issue with the x-positioning of flags on stems which are pointing down. I don't think these are floating-point precision issues since the positioning works very well on stems pointing up.
Minimal example to reproduce:
X:1
a
What computer and browser are you on? Is there anything else unusual about your setup? Like, do you have the browser zoom level not at 100%?
Ah yes, sort of. I am rendering using responsive: 'resize' inside a container whose scale transform I am manipulating to enable some sort of zooming (using Google Chrome, Win10, 1920x1080 resolution). So this might be a neglectable edge case.
I just noticed the difference in behaviour between flags pointing up or down when zooming in. I am also noticing this on your sightreadingfactory project (though less noticable) when using 300% in the settings (no additional browser zooming):
