From 32e4d4a5633e907130da26f9e5e82fa991ade859 Mon Sep 17 00:00:00 2001 From: Joehu Date: Mon, 30 Dec 2019 09:29:46 -0800 Subject: [PATCH] Fix search textboxes absorbing home/end input on scroll containers --- osu.Game/Graphics/UserInterface/SearchTextBox.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/osu.Game/Graphics/UserInterface/SearchTextBox.cs b/osu.Game/Graphics/UserInterface/SearchTextBox.cs index ff3618b263..cdae36e700 100644 --- a/osu.Game/Graphics/UserInterface/SearchTextBox.cs +++ b/osu.Game/Graphics/UserInterface/SearchTextBox.cs @@ -40,6 +40,13 @@ namespace osu.Game.Graphics.UserInterface if (action.ActionType == PlatformActionType.CharNext && action.ActionMethod == PlatformActionMethod.Delete) return false; + switch (action.ActionType) + { + case PlatformActionType.LineEnd: + case PlatformActionType.LineStart: + return false; + } + return base.OnPressed(action); }