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

Fixed deselect out of range exception

This commit is contained in:
Thor Brigsted 2018-04-01 01:06:06 +02:00
parent 941189a4d6
commit 0132c16448

View File

@ -137,7 +137,7 @@ namespace XNodeEditor {
}
// Deselect
else if (e.control || e.shift) selectedReroutes.RemoveAt(hoveredReroute);
else if (e.control || e.shift) selectedReroutes.Remove(hoveredReroute);
e.Use();
currentActivity = NodeActivity.HoldNode;
}