Commit bd314791 authored by techird's avatar techird

merge

parents 342bbdc9 0830fc5b
......@@ -92,7 +92,7 @@ Minder.Receiver = kity.createClass('Receiver',{
return;
}
var text = (this.container.textContent || this.container.innerText).replace(/\u200b/g,'');
var text = this.container.textContent.replace(/\u200b/g,'');
if(this.textShape.getOpacity() == 0){
this.textShape.setOpacity(1);
......
......@@ -504,9 +504,11 @@ KityMinder.registerModule( "LayoutBottom", function () {
Layout.connect = null;
Layout.shicon = null;
} else {
try {
_buffer[ 0 ].getRenderContainer().remove();
Layout.connect.remove();
if ( Layout.shicon ) Layout.shicon.remove();
} catch ( error ) {}
}
_buffer = _buffer.concat( _buffer[ 0 ].getChildren() );
_buffer.shift();
......
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