🐛 图形阴影仅在渐变色下有效

This commit is contained in:
hi2hi 2024-12-13 02:54:41 +00:00
parent 825c655185
commit 18df1e3cec

View File

@ -81,7 +81,7 @@ export default (used, total, itemColors, size = 100) => ({
color: typeof itemColors === 'string' ? itemColors : handleColor(itemColors?.used),
borderRadius: 5,
shadowColor: config.nazhua.serverStatusLinear ? 'rgba(0, 0, 0, 0.5)' : undefined,
shadowBlur: 10,
shadowBlur: config.nazhua.serverStatusLinear ? 10 : undefined,
},
coordinateSystem: 'polar',
cursor: 'default',