Explorar o código

slightly higher double click timing

ncannasse %!s(int64=8) %!d(string=hai) anos
pai
achega
3a3ad51a84
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      h2d/TextInput.hx

+ 1 - 1
h2d/TextInput.hx

@@ -88,7 +88,7 @@ class TextInput extends Text {
 			if( e.cancel ) return;
 			var t = haxe.Timer.stamp();
 			// double click to select all
-			if( t - lastClick < 0.2 && text.length != 0 ) {
+			if( t - lastClick < 0.3 && text.length != 0 ) {
 				selectionRange = { start : 0, length : text.length };
 				selectionSize = 0;
 				cursorIndex = text.length;