Commit d6e681af authored by Akikonata's avatar Akikonata

fixed highlight

parent 73fb6e45
......@@ -465,10 +465,10 @@ KityMinder.registerModule( "LayoutDefault", function () {
case "sub":
if ( highlight ) {
Layout.highlightshape.fill( nodeStyle.highlight ).setOpacity( 1 );
node.getTextShape().fill( 'black' );
node.getTextShape().fill( node.getData( 'fontcolor' ) || 'black' );
} else {
Layout.highlightshape.setOpacity( 0 );
node.getTextShape().fill( 'white' );
node.getTextShape().fill( node.getData( 'fontcolor' ) || 'white' );
}
break;
default:
......
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