Fix Pen tool unable to combine multiple selected paths by extending their endpoints or mesh points (#2570)

* fixed issue

* merge-layers

* node-graph-autopanning-wire

* store the layer whne created instead of querying

* fix layers temporarily geting deselected while exteneding path

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
0SlowPoke0
2025-04-18 00:18:39 -07:00
committed by GitHub
co-authored by Keavon Chambers
parent 29e8e8bdac
commit 33de539d6d
2 changed files with 20 additions and 18 deletions
@@ -1293,7 +1293,7 @@ impl<'a> MessageHandler<NodeGraphMessage, NodeGraphHandlerData<'a>> for NodeGrap
self.update_node_graph_hints(responses);
}
NodeGraphMessage::PointerOutsideViewport { shift } => {
if self.drag_start.is_some() || self.box_selection_start.is_some() {
if self.drag_start.is_some() || self.box_selection_start.is_some() || (self.wire_in_progress_from_connector.is_some() && self.context_menu.is_none()) {
let _ = self.auto_panning.shift_viewport(ipp, responses);
} else {
// Auto-panning