Pārlūkot izejas kodu

slightly higher double click timing

ncannasse 8 gadi atpakaļ
vecāks
revīzija
3a3ad51a84
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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;