#1418 Fix fr background in notes when using htmlLabels

This commit is contained in:
Knut Sveidqvist
2020-05-27 21:20:18 +02:00
parent 4ea6c98f43
commit 63d7b63f42

View File

@@ -3,7 +3,7 @@ import { logger } from '../../logger'; // eslint-disable-line
import intersect from '../intersect/index.js';
const note = (parent, node) => {
const { shapeSvg, bbox, halfPadding } = labelHelper(parent, node, 'node ' + node.classes);
const { shapeSvg, bbox, halfPadding } = labelHelper(parent, node, 'node ' + node.classes, true);
logger.info('Classes = ', node.classes);
// add the rect