1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 22:34:09 +08:00

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

View File

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