Include path endpoints as extrema in the Extrude node (#3469)

* Include single connected points as extrema in the extrude node

* Update styling of loading indicator

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
James Lindsay 2026-01-14 10:31:18 +00:00 committed by GitHub
parent c46060db44
commit aadc989134
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 1 deletions

View File

@ -44,6 +44,14 @@
border: 4px solid #eee;
border-color: #eee transparent #eee transparent;
animation: spinning-loading-indicator 1s linear infinite;
@media (prefers-reduced-motion) {
border: none;
animation: none;
content: "Loading…";
font-family: Arial, sans-serif;
font-size: 24px;
}
}
@keyframes spinning-loading-indicator {

View File

@ -712,7 +712,8 @@ pub mod extrude_algorithms {
let mut next_segment = vector.segment_domain.next_id();
for (index, &point) in points.iter().enumerate().take(first_half_points) {
if point != Found::Both {
// Extrema are single connected points or points with both positive and negative values
if !matches!(point, Found::Both | Found::Positive | Found::Negative) {
continue;
}