1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 16:27:26 +08:00

Only hover when hovering actual text

This commit is contained in:
Dean Herbert 2022-11-30 16:12:17 +09:00
parent 80b0e4a99d
commit 24ee363563

View File

@ -29,6 +29,9 @@ namespace osu.Game.Overlays.Chat
{
public Color4 AccentColour { get; }
public override bool ReceivePositionalInputAt(Vector2 screenSpacePos) =>
Child.ReceivePositionalInputAt(screenSpacePos);
public float FontSize
{
set => drawableText.Font = OsuFont.GetFont(size: value, weight: FontWeight.Bold, italics: true);