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 02:31:18 -08:00
committed by GitHub
co-authored by Keavon Chambers
parent c46060db44
commit aadc989134
2 changed files with 10 additions and 1 deletions
+8
View File
@@ -44,6 +44,14 @@
border: 4px solid #eee; border: 4px solid #eee;
border-color: #eee transparent #eee transparent; border-color: #eee transparent #eee transparent;
animation: spinning-loading-indicator 1s linear infinite; 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 { @keyframes spinning-loading-indicator {
+2 -1
View File
@@ -712,7 +712,8 @@ pub mod extrude_algorithms {
let mut next_segment = vector.segment_domain.next_id(); let mut next_segment = vector.segment_domain.next_id();
for (index, &point) in points.iter().enumerate().take(first_half_points) { 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; continue;
} }