mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Avoid unnecessary object updates from SelectionHandlers
This commit is contained in:
@ -57,7 +57,13 @@ namespace osu.Game.Rulesets.Taiko.Edit
|
||||
ChangeHandler.BeginChange();
|
||||
|
||||
foreach (var h in hits)
|
||||
h.IsStrong = state;
|
||||
{
|
||||
if (h.IsStrong != state)
|
||||
{
|
||||
h.IsStrong = state;
|
||||
EditorBeatmap.UpdateHitObject(h);
|
||||
}
|
||||
}
|
||||
|
||||
ChangeHandler.EndChange();
|
||||
}
|
||||
|
Reference in New Issue
Block a user