mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 00:09:55 +09:00
Update parameter discards
This commit is contained in:
@ -55,12 +55,12 @@ namespace osu.Game.Graphics.UserInterface
|
||||
switch (e)
|
||||
{
|
||||
// blocking scroll can cause weird behaviour when this layer is used within a ScrollContainer.
|
||||
case ScrollEvent _:
|
||||
case ScrollEvent:
|
||||
return false;
|
||||
|
||||
// blocking touch events causes the ISourcedFromTouch versions to not be fired, potentially impeding behaviour of drawables *above* the loading layer that may utilise these.
|
||||
// note that this will not work well if touch handling elements are beneath this loading layer (something to consider for the future).
|
||||
case TouchEvent _:
|
||||
case TouchEvent:
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user