From 873de6078c8e53067ce772d8bfb214dc026ac54e Mon Sep 17 00:00:00 2001 From: Victoria Plitt Date: Thu, 20 Jan 2022 17:22:35 +0200 Subject: Resolved some bugs in new UI PPC Related Work Items: #6127, #6130, #6136, #6137, #6138 --- Software/Visual_Studio/Tango.Touch/Controls/TouchNumericTextBox.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Software/Visual_Studio/Tango.Touch/Controls/TouchNumericTextBox.cs') diff --git a/Software/Visual_Studio/Tango.Touch/Controls/TouchNumericTextBox.cs b/Software/Visual_Studio/Tango.Touch/Controls/TouchNumericTextBox.cs index 224f2d25b..77891b36b 100644 --- a/Software/Visual_Studio/Tango.Touch/Controls/TouchNumericTextBox.cs +++ b/Software/Visual_Studio/Tango.Touch/Controls/TouchNumericTextBox.cs @@ -280,6 +280,11 @@ namespace Tango.Touch.Controls e.Handled = true; return; } + else if(e.Text == "." && HasDecimalPoint) + { + e.Handled = false; + return; + } if (e.Text == "-" && !_text_box.Text.Contains("-")) { -- cgit v1.3.1