ppy / osu

rhythm is just a *click* away!
https://osu.ppy.sh
MIT License
14.64k stars 2.16k forks source link

Fix crash when attempting to adjust duration of break that has no preceding/succeeding objects #28580

Closed bdach closed 4 days ago

bdach commented 4 days ago

Additionally contains a fix to the break autogeneration logic which makes it so that manually-adjusted breaks which are placed before/after all objects are removed (they would previously persist which is undesirable). This was the secondary cause of the issue, because you could do the following:

to get a break that would cause a crash when attempting to drag either end of it.