mirror of
https://github.com/ppy/osu
synced 2025-01-06 22:30:12 +00:00
Fix search textboxes absorbing home/end input on scroll containers
This commit is contained in:
parent
d8b96a679d
commit
32e4d4a563
@ -40,6 +40,13 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
if (action.ActionType == PlatformActionType.CharNext && action.ActionMethod == PlatformActionMethod.Delete)
|
if (action.ActionType == PlatformActionType.CharNext && action.ActionMethod == PlatformActionMethod.Delete)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
switch (action.ActionType)
|
||||||
|
{
|
||||||
|
case PlatformActionType.LineEnd:
|
||||||
|
case PlatformActionType.LineStart:
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
return base.OnPressed(action);
|
return base.OnPressed(action);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user