mirror of
https://github.com/ppy/osu.git
synced 2026-05-19 05:49:52 +08:00
Fix RemoveBlockingOverlay causing transform mutation from disposal threads
This commit is contained in:
+2
-2
@@ -151,11 +151,11 @@ namespace osu.Game
|
||||
updateBlockingOverlayFade();
|
||||
}
|
||||
|
||||
public void RemoveBlockingOverlay(OverlayContainer overlay)
|
||||
public void RemoveBlockingOverlay(OverlayContainer overlay) => Schedule(() =>
|
||||
{
|
||||
visibleBlockingOverlays.Remove(overlay);
|
||||
updateBlockingOverlayFade();
|
||||
}
|
||||
});
|
||||
|
||||
/// <summary>
|
||||
/// Close all game-wide overlays.
|
||||
|
||||
Reference in New Issue
Block a user