1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-22 01:59:53 +08:00

Document DrawableChatUsername members

This commit is contained in:
Bartłomiej Dach
2023-06-18 18:45:53 +02:00
Unverified
parent a2a9823d84
commit ee08ed414c
@@ -33,8 +33,15 @@ namespace osu.Game.Overlays.Chat
{
public Action? ReportRequested;
/// <summary>
/// The primary colour to use for the username.
/// </summary>
public Color4 AccentColour { get; init; }
/// <summary>
/// If set to <see langword="false"/>, the username will be drawn as plain text in <see cref="AccentColour"/>.
/// If set to <see langword="true"/>, the username will be drawn as black text inside a rounded rectangle in <see cref="AccentColour"/>.
/// </summary>
public bool Inverted { get; init; }
public override bool ReceivePositionalInputAt(Vector2 screenSpacePos) =>