Use the UI mouse cursor when hovering gameplay chat in an interactive state

This commit is contained in:
Dean Herbert 2021-08-21 14:44:54 +09:00
parent d3dba296d6
commit 15d443f6b7
1 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,7 @@
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Input.Bindings;
using osu.Framework.Input.Events;
using osu.Game.Input.Bindings;
using osu.Game.Screens.OnlinePlay.Match.Components;
using osu.Game.Screens.Play;
@ -38,6 +39,8 @@ public GameplayChatDisplay()
Textbox.FocusLost = () => expandedFromTextboxFocus.Value = false;
}
protected override bool OnHover(HoverEvent e) => true; // use UI mouse cursor.
protected override void LoadComplete()
{
base.LoadComplete();