1
0
mirror of https://github.com/Siccity/xNode.git synced 2025-12-20 01:06:01 +08:00

.NET 3.5 compatability

This commit is contained in:
Thor Brigsted 2019-09-07 04:00:48 +02:00
parent c51a3a8f67
commit 1254836a84

View File

@ -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);
}