Commit 9421c64
committed
fix preview border-radius not matching editor roundness
The preview formula divided by 200 instead of 100 and added a spurious
+10, so roundness was never fully applied. Use CSS percentage directly
since the borderRadius state (0-50) maps naturally to CSS border-radius%.1 parent ee559e4 commit 9421c64
1 file changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | | - | |
| 382 | + | |
386 | 383 | | |
387 | 384 | | |
388 | 385 | | |
| |||
0 commit comments