Skip to content

Commit

Permalink
Exposed the FormattedText.SupportsCommands boolean to a public proper…
Browse files Browse the repository at this point in the history
…ty on the Label widget
  • Loading branch information
Skippeh committed Dec 29, 2021
1 parent f805876 commit 5bcea2e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Myra/Graphics2D/UI/Label.cs
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,13 @@ public Color? OverTextColor
get; set;
}

[Category("Appearance")]
public bool SupportsCommands
{
get => _formattedText.SupportsCommands;
set => _formattedText.SupportsCommands = value;
}

internal Color? PressedTextColor
{
get; set;
Expand Down

0 comments on commit 5bcea2e

Please sign in to comment.