Commit 9a36e6be authored by campaign's avatar campaign

by zhanyi

parent d16bcc7a
...@@ -12,7 +12,7 @@ KityMinder.registerModule( "TextEditModule", function () { ...@@ -12,7 +12,7 @@ KityMinder.registerModule( "TextEditModule", function () {
"events": { "events": {
'beforemousedown':function(e){ 'beforemousedown':function(e){
cursor.setHide(); cursor.setHide();
var node = this.getSelectedNode(); var node = e.getTargetNode();
if(node){ if(node){
var textShape = node.getTextShape(); var textShape = node.getTextShape();
textShape.setStyle('cursor','default'); textShape.setStyle('cursor','default');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment