Skip to content

Commit 26f7a36

Browse files
Update InputParameterEditor.cs
1 parent 8c176c5 commit 26f7a36

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Packages/com.unity.inputsystem/InputSystem/Editor/InputParameterEditor.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -361,10 +361,9 @@ public void OnGUI()
361361
if ((value - float.Epsilon) == m_DefaultInitializedValue)
362362
value = m_DefaultInitializedValue;
363363

364-
const float minValue = 0f;
365-
const float maxValue = 1f;
364+
const float k_MinValue = 0f;
365+
const float k_MaxValue = 1f;
366366
var newValue = EditorGUILayout.Slider(m_ValueLabel, value, k_MinValue, k_MaxValue, GUILayout.ExpandWidth(false));
367-
//var newValue = EditorGUILayout.FloatField(m_ValueLabel, value, GUILayout.ExpandWidth(false));
368367
if (!m_UseDefaultValue)
369368
SetValue(newValue);
370369

0 commit comments

Comments
 (0)