mirror of
https://github.com/Siccity/xNode.git
synced 2025-12-20 09:16:01 +08:00
.NET 3.5 compatability
This commit is contained in:
parent
c51a3a8f67
commit
1254836a84
@ -298,7 +298,7 @@ namespace XNodeEditor {
|
||||
if (e.keyCode == KeyCode.F2) RenameSelectedNode();
|
||||
}
|
||||
if (e.keyCode == KeyCode.A) {
|
||||
if (Selection.objects.Any(x => graph.nodes.Contains(x))) {
|
||||
if (Selection.objects.Any(x => graph.nodes.Contains(x as XNode.Node))) {
|
||||
foreach (XNode.Node node in graph.nodes) {
|
||||
DeselectNode(node);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user