ppy / osu

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

Lag when beat snap is shown on the taiko editor #28369

Closed namooTH closed 1 month ago

namooTH commented 1 month ago

Type

Performance

Bug description

in the osu taiko editor when you select a hit obj it would show the beat snap lines in the mapping area

when selecting 1 hit obj the snap lines are shown, the "Update" frame-time goes up by 2 - 4ms the lag seems to be more noticeable on longer maps (e.g. map that are longer than 5 minutes)

when selecting multiple obj, it would lag on the first obj and the rest is smooth (which is the reason why i think the problem here is are the beat snap lines)

the lag doesn't happen (or is barely noticeable) when clicking on the "Hit" button on the toolbox which also shows the beat snap lines

Screenshots or videos

https://github.com/ppy/osu/assets/73419369/22f697b7-5ce7-4f27-90d8-aea80f12acb0

Version

2024.521.2-lazer

Logs

compressed-logs.zip