소스 검색

use correct cursor

ncannasse 8 년 전
부모
커밋
37262de0ec
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      h2d/TextInput.hx

+ 2 - 0
h2d/TextInput.hx

@@ -188,6 +188,8 @@ class TextInput extends Text {
 		interactive.onOver = function(e) onOver(e);
 		interactive.onOut = function(e) onOut(e);
 
+		interactive.cursor = TextInput;
+
 		addChildAt(interactive, 0);
 	}