Add comment detailing why this is requried

This commit is contained in:
Dean Herbert
2020-01-09 17:28:48 +08:00
parent a74fc70627
commit ffa0cf2d44

View File

@ -47,6 +47,7 @@ namespace osu.Game.Graphics.UserInterface
{ {
switch (e) switch (e)
{ {
// blocking scroll can cause weird behaviour when this layer is used within a ScrollContainer.
case ScrollEvent _: case ScrollEvent _:
return false; return false;
} }