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
commit 380aa94214
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;