Skip to content

merge_pr_51487

Compare
Choose a tag to compare
@github-actions github-actions released this 20 Mar 13:02

Corner-shape: fix border thickness for high curvature

When curvature is very high (>2) or very low (<0.5),
we can no longer adjust the offset. Instead, to create
an effect that makes the thickness consistent, we adjust
the curvature of the target corner upwards, to the point
in which the mid-point has the desired length.

Bug: 399449172
Change-Id: I7285bccaa48664179f39c44ebac562514a306e1e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6372625
Commit-Queue: Noam Rosenthal [email protected]
Reviewed-by: Fredrik Söderquist [email protected]
Cr-Commit-Position: refs/heads/main@{#1435336}