aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Touch/Controls/TouchNumericTextBox.cs
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2022-01-30 14:45:35 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2022-01-30 14:45:35 +0200
commit7340cf3da145a6eff01903fc7cf9da15983bf8af (patch)
treee027e35068749df40174c6725c133669d83cb8fe /Software/Visual_Studio/Tango.Touch/Controls/TouchNumericTextBox.cs
parent99ab23894ab92eb93774cca163c5558c43e6180f (diff)
parent94506b081ec7cd46a7088718902313401999cb90 (diff)
downloadTango-7340cf3da145a6eff01903fc7cf9da15983bf8af.tar.gz
Tango-7340cf3da145a6eff01903fc7cf9da15983bf8af.zip
Merged Vica Fixes to new PPC UI.
Diffstat (limited to 'Software/Visual_Studio/Tango.Touch/Controls/TouchNumericTextBox.cs')
-rw-r--r--Software/Visual_Studio/Tango.Touch/Controls/TouchNumericTextBox.cs5
1 files changed, 5 insertions, 0 deletions
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("-"))
{