From 62d60521ed37582f0e1fb23e9541de76aa1c2406 Mon Sep 17 00:00:00 2001 From: Zach Vinless Date: Tue, 1 Nov 2016 20:34:11 -0700 Subject: [PATCH] Replaced redundant function call with already assigned local variable --- Assets/Fungus/Scripts/Editor/FlowchartWindow.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Fungus/Scripts/Editor/FlowchartWindow.cs b/Assets/Fungus/Scripts/Editor/FlowchartWindow.cs index 107053d3..b42631bd 100644 --- a/Assets/Fungus/Scripts/Editor/FlowchartWindow.cs +++ b/Assets/Fungus/Scripts/Editor/FlowchartWindow.cs @@ -787,7 +787,7 @@ namespace Fungus.EditorUtils nodeStyleCopy.normal.background = offTex; GUI.backgroundColor = tintColor; - GUI.Box(GUILayoutUtility.GetLastRect(), block.BlockName, nodeStyleCopy); + GUI.Box(boxRect, block.BlockName, nodeStyleCopy); GUI.backgroundColor = Color.white;