mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-03 08:18:13 +08:00
Add snapping for a line's midpoint when it's being drawn (#2594)
* line midpoint snapper * Add to snap option menu * remove being_drawn_line_midpoint * Code review --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
co-authored by
Keavon Chambers
parent
d5cb380328
commit
0a65e570a9
@@ -4198,7 +4198,6 @@ impl NodeNetworkInterface {
|
||||
let Some(downstream_nodes) = outward_wires.get(¤t_node) else { continue };
|
||||
for downstream_node in downstream_nodes {
|
||||
if let InputConnector::Node { node_id: downstream_id, .. } = downstream_node {
|
||||
let downstream_node_output = OutputConnector::node(*downstream_id, 0);
|
||||
if !delete_nodes.contains(downstream_id) {
|
||||
can_delete = false;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user