fixed multiselection for transitions in absm editor

This commit is contained in:
Dmitry Stepanov
2026-06-30 23:48:48 +03:00
parent 16e9d61e91
commit 006111b291
+4 -1
View File
@@ -444,7 +444,10 @@ impl Control for AbsmCanvas {
self.mode = Mode::Drag {
drag_context: self.make_drag_context(ui),
}
} else {
} else if self
.fetch_dest_node_component::<TransitionView>(message.destination(), ui)
.is_none()
{
self.set_selection(&[], ui);
}
}