Skip to content

Commit

Permalink
disable collinear state
Browse files Browse the repository at this point in the history
  • Loading branch information
0SlowPoke0 committed Nov 28, 2024
1 parent 37f4b23 commit a057ac8
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,12 @@ impl ShapeState {

let Some(other) = vector_data.other_colinear_handle(handle) else { continue };
if state.is_selected(other.to_manipulator_point()) {
continue;
if let Some(handles) = point.get_handle_pair(&vector_data) {
let modification_type = VectorModificationType::SetG1Continuous { handles, enabled: false };
responses.add(GraphOperationMessage::Vector { layer, modification_type });
} else {
continue;
}
}

let new_relative = if equidistant {
Expand Down

0 comments on commit a057ac8

Please sign in to comment.