From 5bcea2e6d1516924cf0a9fef57572be83f4e4f8f Mon Sep 17 00:00:00 2001 From: Skipcast Date: Wed, 29 Dec 2021 16:59:38 +0100 Subject: [PATCH] Exposed the FormattedText.SupportsCommands boolean to a public property on the Label widget --- src/Myra/Graphics2D/UI/Label.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Myra/Graphics2D/UI/Label.cs b/src/Myra/Graphics2D/UI/Label.cs index cf43d4e9..a4bee22a 100644 --- a/src/Myra/Graphics2D/UI/Label.cs +++ b/src/Myra/Graphics2D/UI/Label.cs @@ -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;