|
|
@ -523,6 +523,11 @@ namespace Fungus |
|
|
|
Block block = windowBlockMap[windowId]; |
|
|
|
Block block = windowBlockMap[windowId]; |
|
|
|
Flowchart flowchart = block.GetFlowchart(); |
|
|
|
Flowchart flowchart = block.GetFlowchart(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (flowchart == null) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Select block when node is clicked |
|
|
|
// Select block when node is clicked |
|
|
|
if (Event.current.button == 0 && |
|
|
|
if (Event.current.button == 0 && |
|
|
|
Event.current.type == EventType.MouseDown && |
|
|
|
Event.current.type == EventType.MouseDown && |
|
|
|