mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 02:22:56 +08:00
Switched the implementation to set the blockInput flag for the BeatmapMetadataDisplay's LoadingLayer. This prevents the UIEvents from being being handled in this case without modifying the class
This commit is contained in:
parent
ba728bdab1
commit
9ac9287dbd
@ -69,10 +69,6 @@ namespace osu.Game.Graphics.UserInterface
|
||||
// note that this will not work well if touch handling elements are beneath this loading layer (something to consider for the future).
|
||||
case TouchEvent:
|
||||
return false;
|
||||
|
||||
// blocking drag events to prevent unintended ui pausing while loading a beat map (see https://github.com/ppy/osu/issues/22657)
|
||||
case DragStartEvent:
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
|
@ -114,7 +114,7 @@ namespace osu.Game.Screens.Play
|
||||
Anchor = Anchor.Centre,
|
||||
FillMode = FillMode.Fill,
|
||||
},
|
||||
loading = new LoadingLayer(true)
|
||||
loading = new LoadingLayer(dimBackground: true, blockInput: false)
|
||||
}
|
||||
},
|
||||
versionFlow = new FillFlowContainer
|
||||
|
Loading…
Reference in New Issue
Block a user