Merge pull request #4929 from Mister-Hope/patch-1

fix(class): avoid duplicate definition of fill
This commit is contained in:
Sidharth Vinod
2023-10-11 06:20:44 +00:00
committed by GitHub

View File

@@ -1,7 +1,6 @@
const getStyles = (options) =>
`g.classGroup text {
fill: ${options.nodeBorder};
fill: ${options.classText};
fill: ${options.nodeBorder || options.classText};
stroke: none;
font-family: ${options.fontFamily};
font-size: 10px;