MeasuringPolyphony / mp_editor

https://editor.measuringpolyphony.org
4 stars 2 forks source link

Breaks when accidentally add a rest to a ligature #24

Closed karend27 closed 4 years ago

karend27 commented 4 years ago

In the following data entry, I had begun a ligature and forgot to close it by typing ']' I then typed 'r' for rest, realized my mistake and tried to backspace and type ']' but it wouldn't let me backspace to delete the last note or do anything.

Screen Shot 2020-04-15 at 9 22 26 AM
JRegimbal commented 4 years ago

This is largely an issue with entering ligatures the way we do now. Keeping the tag essentially open until manually closed opens up a lot of possibilities for accidents like this to occur that crash Verovio. I'm trying to think of an alternative way of entering ligatures that doesn't have the same problem.

karend27 commented 4 years ago

Great - this seems to work. I tried entering a rest and I got a popup telling me that I can't do that and so I then entered the keystroke to close a ligature and proceeded as normal. Thanks!