浏览代码

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);
 	}