antvis/G6


The issue has been closed
使用了自定义边的marker,增加阿里icon的svg加载后,icon图标颜色不可变 #5876
zhangsai521314 posted onGitHub
Describe the bug / 问题描述
使用了register(ExtensionCategory.EDGE, "fly-marker-cubic", FlyMarkerCubic)自定边的marker实现。 正常node的iconFill颜色可以使用,当引用了阿里的svg的icon后,node的iconFill失效
Reproduction link / 重现链接
链接:https://pan.baidu.com/s/1GdHVtfY9QLssjvagAKwpMQ?pwd=73cb 提取码:73cb
Steps to Reproduce the Bug or Issue / 重现步骤
因为在stackblitz中上传不了字体文件,将demo创建了项目,请下载后安装后打开。 正常效果和异常效果通过注释和解注释index.html中的/MyIcon/iconFont_svg.css即可看到
G6 Version / G6 版本
🆕 5.x
Operating System / 操作系统
Windows
Browser / 浏览器
Firefox
Additional context / 补充说明
No response