tillvit / smeditor

Online web tool to view and edit StepMania chart (.sm/.ssc files) @ https://tillvit.github.io/smeditor
MIT License
54 stars 9 forks source link

[BUG] Charts won't get consistently deleted #139

Closed rehtlaw closed 1 month ago

rehtlaw commented 1 month ago

Version/OS 1.0.0 Linux

Describe the bug Deleting charts isn't actually consistent. As far as I can tell, if you delete a chart that's in a slot higher (or I guess lower? more difficult) than the chart you have selected and saved on, it may just... not actually get deleted after you save and reload the file again. The Challenge chart seems to do this the most, but it can happen with others as well.

To Reproduce

tillvit commented 1 month ago

Fixed in next update; was caused by writing to a file not clearing the previous contents past the written length.