Browse Source

Reduced width of variable popup

master
chrisgregan 9 years ago
parent
commit
2536ae4351
  1. 2
      Assets/Fungus/Flowchart/Editor/VariableEditor.cs

2
Assets/Fungus/Flowchart/Editor/VariableEditor.cs

@ -209,7 +209,7 @@ namespace Fungus
protected virtual void DrawSingleLineProperty(Rect rect, GUIContent label, SerializedProperty referenceProp, SerializedProperty valueProp, Flowchart flowchart) protected virtual void DrawSingleLineProperty(Rect rect, GUIContent label, SerializedProperty referenceProp, SerializedProperty valueProp, Flowchart flowchart)
{ {
const int popupWidth = 60; const int popupWidth = 17;
Rect controlRect = EditorGUI.PrefixLabel(rect, label); Rect controlRect = EditorGUI.PrefixLabel(rect, label);
Rect valueRect = controlRect; Rect valueRect = controlRect;

Loading…
Cancel
Save