Commit a5205435 authored by campaign's avatar campaign

修改光标

parent 1d8b4f99
......@@ -66,7 +66,6 @@ Minder.Receiver = kity.createClass( 'Receiver', {
},
setMinderNode: function ( node ) {
this.minderNode = node;
node.addShape(this.textShape);
return this;
},
keyboardEvents: function ( e ) {
......@@ -228,10 +227,10 @@ Minder.Receiver = kity.createClass( 'Receiver', {
return this;
},
getBaseOffset: function (node) {
return this.textShape.getRenderBox( node || this.minderNode.getRenderContainer() );
return this.textShape.getRenderBox( node || this.km.getRenderContainer() );
},
setBaseOffset: function () {
this.offset = this.textShape.getRenderBox( this.minderNode.getRenderContainer() );
this.offset = this.textShape.getRenderBox( this.km.getRenderContainer() );
return this;
},
setContainerStyle: function () {
......
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