mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-30 09:47:58 +01:00
Fixed linux/mac failure
This commit is contained in:
@@ -37,11 +37,10 @@ public class NumericUpDown<T> : View where T : notnull
|
||||
throw new InvalidOperationException ("T must be a numeric type that supports addition and subtraction.");
|
||||
}
|
||||
|
||||
Increment = (dynamic)1;
|
||||
|
||||
// `object` is supported only for AllViewsTester
|
||||
if (type != typeof (object))
|
||||
{
|
||||
Increment = (dynamic)1;
|
||||
Value = (dynamic)0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user