mirror of
https://github.com/hi2shark/nazhua.git
synced 2026-01-16 09:10:42 +08:00
🐛 图形阴影仅在渐变色下有效
This commit is contained in:
parent
825c655185
commit
18df1e3cec
@ -81,7 +81,7 @@ export default (used, total, itemColors, size = 100) => ({
|
|||||||
color: typeof itemColors === 'string' ? itemColors : handleColor(itemColors?.used),
|
color: typeof itemColors === 'string' ? itemColors : handleColor(itemColors?.used),
|
||||||
borderRadius: 5,
|
borderRadius: 5,
|
||||||
shadowColor: config.nazhua.serverStatusLinear ? 'rgba(0, 0, 0, 0.5)' : undefined,
|
shadowColor: config.nazhua.serverStatusLinear ? 'rgba(0, 0, 0, 0.5)' : undefined,
|
||||||
shadowBlur: 10,
|
shadowBlur: config.nazhua.serverStatusLinear ? 10 : undefined,
|
||||||
},
|
},
|
||||||
coordinateSystem: 'polar',
|
coordinateSystem: 'polar',
|
||||||
cursor: 'default',
|
cursor: 'default',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user