Browse Source

slightly higher double click timing

ncannasse 8 years ago
parent
commit
3a3ad51a84
1 changed files with 1 additions and 1 deletions
  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;