Browse Source

Replaced redundant function call with already assigned local variable

master
Zach Vinless 8 years ago
parent
commit
62d60521ed
  1. 2
      Assets/Fungus/Scripts/Editor/FlowchartWindow.cs

2
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;

Loading…
Cancel
Save