We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x6 版本 1.32.11 通过markup 自定义了 rect 属性如下 fill, stroke, strokeWidth一直显示默认值。 其他属性都是成功设置
https://codesandbox.io/p/sandbox/test-x6-m5zxlr?file=%2Fsrc%2FApp.tsx%3A28%2C24
markup 数据如下
{ "tagName": "rect", "attrs": { "x": -30, "y": -15, "width": 60, "height": 30, "rx": 0, "ry": 0, "fill": "rgb(255,255,255)", "stroke": "rgb(255,255,255)", "strokeWidth": 0.9448818897637796, "strokeDasharray": "0", "transform": "rotate(0, 0, 0) translate(0,0) scale(1,1) translate(0,0) rotate(0, 0, 0)", "opacity": 1, "magnet": false } }
stroke && fill 设置为用户设置的值
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
问题描述
x6 版本 1.32.11
通过markup 自定义了 rect 属性如下
fill, stroke, strokeWidth一直显示默认值。
其他属性都是成功设置
重现链接
https://codesandbox.io/p/sandbox/test-x6-m5zxlr?file=%2Fsrc%2FApp.tsx%3A28%2C24
重现步骤
markup 数据如下
预期行为
stroke && fill 设置为用户设置的值
平台
屏幕截图或视频(可选)
No response
补充说明(可选)
No response
The text was updated successfully, but these errors were encountered: