Skip to content

Commit cb8c27e

Browse files
committed
Fixes the case where XAML tries to cast to a uint
Fixes #2384
1 parent 95547c1 commit cb8c27e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/HoloToolkit/UX/Scripts/Keyboard.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ protected override void Awake()
253253

254254
// Setting the keyboardType to an undefined TouchScreenKeyboardType,
255255
// which prevents the MRTK keyboard from triggering the system keyboard itself.
256-
InputField.keyboardType = (TouchScreenKeyboardType)(-1);
256+
InputField.keyboardType = (TouchScreenKeyboardType)(int.MaxValue);
257257

258258
// Keep keyboard deactivated until needed
259259
gameObject.SetActive(false);

0 commit comments

Comments
 (0)