fix: reduce funnel segment thickness (0.44 -> 0.3)
This commit is contained in:
@@ -145,8 +145,8 @@ function hSegmentPath(
|
|||||||
straight = false
|
straight = false
|
||||||
) {
|
) {
|
||||||
const my = H / 2;
|
const my = H / 2;
|
||||||
const h0 = normStart * H * 0.44 * layerScale;
|
const h0 = normStart * H * 0.3 * layerScale;
|
||||||
const h1 = normEnd * H * 0.44 * layerScale;
|
const h1 = normEnd * H * 0.3 * layerScale;
|
||||||
|
|
||||||
if (straight) {
|
if (straight) {
|
||||||
return `M 0 ${my - h0} L ${segW} ${my - h1} L ${segW} ${my + h1} L 0 ${my + h0} Z`;
|
return `M 0 ${my - h0} L ${segW} ${my - h1} L ${segW} ${my + h1} L 0 ${my + h0} Z`;
|
||||||
|
|||||||
Reference in New Issue
Block a user