Commit db930917 authored by Akikonata's avatar Akikonata

Merge branch 'dev' of github.com:fex-team/kityminder into dev

parents 2cb2803c 015d8a1f
......@@ -90,13 +90,17 @@ Minder.Receiver = kity.createClass( 'Receiver', {
me.setContainerStyle();
me.minderNode.setText( text );
if ( text.length == 0 ) {
me.textShape.setContent( 'a' );
me.textShape.setOpacity( 0 );
me.minderNode.setText('a');
}
me.km.updateLayout( me.minderNode );
me.textShape = me.minderNode.getTextShape();
if(text.length == 0){
me.textShape.setOpacity( 0 );
}
me.setBaseOffset();
me.updateTextData();
......
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