Browse Source

use correct cursor

ncannasse 8 years ago
parent
commit
37262de0ec
1 changed files with 2 additions and 0 deletions
  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);
 	}