Commit f4336c7c authored by Akikonata's avatar Akikonata

changed nodeshape

parent cf53564a
......@@ -28,7 +28,7 @@ KityMinder.registerModule( "RenderModule", function () {
fontSize: 14
};
var kR = node.getRenderContainer();
var nodeShape = new MinderNodeShape( kR );
var nodeShape = kR.nodeShape = kR.nodeShape || new MinderNodeShape( kR );
var nd = JSON.parse( JSON.stringify( styledefault ) );
var nodeD = Utils.extend( nd, node.getData( "style" ) );
node.setData( "style", nodeD );
......
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