Commit ab848e50 authored by campaign's avatar campaign

修复文字输入

parent 20be6479
......@@ -98,12 +98,12 @@ Minder.Receiver = kity.createClass( 'Receiver', {
if ( browser.gecko && /\s$/.test( text ) ) {
text += "\u200b";
}
me.textShape.setContent( text );
me.setContainerStyle();
me.minderNode.setText( text );
if ( text.length == 0 ) {
me.minderNode.setText( '|' );
}
me.setContainerStyle();
me.km.updateLayout( me.minderNode );
......
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