mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
fix(core): disable border thickness setting when no border is selected (#8152)
close AF-1351
This commit is contained in:
@@ -256,6 +256,7 @@ export const NoteSettings = () => {
|
||||
max={12}
|
||||
step={2}
|
||||
nodes={[2, 4, 6, 8, 10, 12]}
|
||||
disabled={borderStyle === StrokeStyle.None}
|
||||
/>
|
||||
</SettingRow>
|
||||
</>
|
||||
|
||||
@@ -494,6 +494,7 @@ export const ShapeSettings = () => {
|
||||
max={12}
|
||||
step={2}
|
||||
nodes={[2, 4, 6, 8, 10, 12]}
|
||||
disabled={borderStyle === StrokeStyle.None}
|
||||
/>
|
||||
</SettingRow>
|
||||
<SettingRow
|
||||
|
||||
Reference in New Issue
Block a user