Skip to content

Commit 7088a81

Browse files
committed
FIX: Also inset the Listen block in PickControl mode [UUM-150217]
Add a 3px leading inset before the "Listen" toggle block in DrawSearchFieldControl so it is no longer flush against the popup's left edge in PickControl mode. Jira: https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-150217
1 parent 060a266 commit 7088a81

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Packages/com.unity.inputsystem/InputSystem/Editor/ControlPicker/InputControlPickerDropdown.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,7 @@ internal override string DrawSearchFieldControl(string searchString)
575575
// When picking controls, have a "Listen" button that allows listening for input.
576576
if (m_Owner.m_Mode == InputControlPicker.Mode.PickControl)
577577
{
578+
GUILayout.Space(3f);
578579
using (new EditorGUILayout.VerticalScope(GUILayout.MaxWidth(50)))
579580
{
580581
GUILayout.Space(4);

0 commit comments

Comments
 (0)