Trying to get more accurate cylinders (it's not perfect).

This commit is contained in:
Adsooi 2023-03-10 00:35:14 +01:00
parent fab28a907d
commit 0f968a702b
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160
2 changed files with 2 additions and 1 deletions

View file

@ -10,7 +10,7 @@
& > .strip { & > .strip {
position: absolute; position: absolute;
width: calc(2 * 3.19 * var(--pradius) / var(--pstripcount)); width: calc(2 * 3.18 * var(--pradius) / var(--pstripcount));
height: var(--height, 100px); height: var(--height, 100px);
background: white; background: white;
} }

View file

@ -21,6 +21,7 @@
margin-block-end: 0; margin-block-end: 0;
position: absolute; position: absolute;
pointer-events: none; pointer-events: none;
backface-visibility: hidden;
} }
& .position-at-center { & .position-at-center {