Browse Source

feat: 更新AutoUpdater组件,添加居中属性;调整DeflectionCollection中的张力设置为0

master
cles 2 weeks ago
parent
commit
9e158b88e5
  1. 1
      src/renderer/src/components/AutoUpdater/AutoUpdater.jsx
  2. 4
      src/renderer/src/components/DeflectionCollection/DeflectionCollection.jsx

1
src/renderer/src/components/AutoUpdater/AutoUpdater.jsx

@ -123,6 +123,7 @@ function AutoUpdater() {
footer={null}
width={480}
maskClosable={false}
centered={true}
>
<div className={styles.modalContent}>
{updateInfo && (

4
src/renderer/src/components/DeflectionCollection/DeflectionCollection.jsx

@ -104,7 +104,7 @@ function DeflectionCollection() {
}),
borderColor: sensor.color,
backgroundColor: sensor.color.replace('1)', '0.2)'),
tension: 0.3,
tension: 0,
pointRadius: 3,
pointHoverRadius: 5
}))
@ -121,7 +121,7 @@ function DeflectionCollection() {
}),
borderColor: sensor.color,
backgroundColor: sensor.color.replace('1)', '0.2)'),
tension: 0.3,
tension: 0,
pointRadius: 3,
pointHoverRadius: 5
}))

Loading…
Cancel
Save