Skip to content

Commit 0f968a7

Browse files
committed
Trying to get more accurate cylinders (it's not perfect).
1 parent fab28a9 commit 0f968a7

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/elements/circular/cylinder.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
& > .strip {
1212
position: absolute;
13-
width: calc(2 * 3.19 * var(--pradius) / var(--pstripcount));
13+
width: calc(2 * 3.18 * var(--pradius) / var(--pstripcount));
1414
height: var(--height, 100px);
1515
background: white;
1616
}

src/elements/figure.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
margin-block-end: 0;
2222
position: absolute;
2323
pointer-events: none;
24+
backface-visibility: hidden;
2425
}
2526

2627
& .position-at-center {

0 commit comments

Comments
 (0)