Explorar el Código

firefox colon fix

Trevor Baron hace 7 años
padre
commit
c5e9abb6f2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      gui/src/2D/controls/inputText.ts

+ 1 - 1
gui/src/2D/controls/inputText.ts

@@ -351,7 +351,7 @@ export class InputText extends Control implements IFocusableControl {
         if (key &&
             ((keyCode === -1) ||                     // Direct access
                 (keyCode === 32) ||                     // Space
-                (keyCode > 47 && keyCode < 58) ||       // Numbers
+                (keyCode > 47 && keyCode < 60) ||       // Numbers
                 (keyCode > 64 && keyCode < 91) ||       // Letters
                 (keyCode > 185 && keyCode < 193) ||     // Special characters
                 (keyCode > 218 && keyCode < 223) ||     // Special characters