Skip to content

Commit 3971f67

Browse files
committed
[Input System] The "Add Control Scheme..." popup now requires explicit Save/Close user action (case ISXB-1131)
o Previously clicking outside the popup window (anywhere in the editor) would close the popup window. o This would leave a new blank (unnamed, orphaned) control scheme populating the UI - this was confusing. o Now this popup will persist until the user explictly chooses to Save or Cancel.
1 parent 08349cc commit 3971f67

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Packages/com.unity.inputsystem/InputSystem/Editor/UITKAssetEditor/Views/ControlSchemesView.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ public ControlSchemesView(VisualElement root, StateContainer stateContainer, boo
6363
m_ModalWindow.Add(popupWindow);
6464
root.Add(m_ModalWindow);
6565
m_ModalWindow.StretchToParentSize();
66-
m_ModalWindow.RegisterCallback<ClickEvent>(evt => CloseView());
6766
popupWindow.RegisterCallback<ClickEvent>(evt => evt.StopPropagation());
6867

6968
m_ListView = controlSchemeVisualElement.Q<MultiColumnListView>(kControlSchemesListView);

0 commit comments

Comments
 (0)