Unity-Technologies / InputSystem

An efficient and versatile input system for Unity.
Other
1.43k stars 310 forks source link

FIX: Avoid jumping around Actions list due to premature asset saving (ISXB-801) #1886

Closed graham-huws closed 7 months ago

graham-huws commented 7 months ago

Description

Fix for ISXB-801, where editing the binding path for a newly added action's binding would cause the selection to jump to the top action instead.

Changes made

Use the opening and closing of the IMGUI dropdown window to inform the settings window of how to act.

Checklist

Before review:

During merge:

stefanunity commented 7 months ago

It fails on 2021.3 (doesn't support the UITK version of the editor nor projectwide actions afaik) with the following compilation error:

Packages/com.unity.inputsystem/InputSystem/Editor/ControlPicker/InputControlPathEditor.cs(165,13): error CS0103: The name 'InputActionsEditorSettingsProvider' does not exist in the current context

unity-cla-assistant commented 7 months ago

CLA assistant check
All committers have signed the CLA.