mirror of
https://github.com/ppy/osu
synced 2024-12-14 10:57:41 +00:00
Remove from dictionary on Remove()
This commit is contained in:
parent
8f8d35bd15
commit
d74e1b9b64
@ -51,8 +51,13 @@ namespace osu.Game.Rulesets.UI.Scrolling
|
||||
public override bool Remove(DrawableHitObject hitObject)
|
||||
{
|
||||
var result = base.Remove(hitObject);
|
||||
|
||||
if (result)
|
||||
{
|
||||
initialStateCache.Invalidate();
|
||||
hitObjectInitialStateCache.Remove(hitObject);
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user