File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Packages/com.unity.inputsystem/InputSystem/Plugins/UI Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -895,7 +895,7 @@ internal void ProcessNavigation(ref NavigationModel navigationState)
895895 // Process submit and cancel events.
896896 if ( ! usedSelectionChange && eventSystem . currentSelectedGameObject != null )
897897 {
898- // NOTE: Whereas we use callbacks for the other actions, we rely on WasPressedThisFrame () for
898+ // NOTE: Whereas we use callbacks for the other actions, we rely on WasPerformedThisRenderingFrame () for
899899 // submit and cancel. This makes their behavior inconsistent with pointer click behavior where
900900 // a click will register on button *up*, but consistent with how other UI systems work where
901901 // click occurs on key press. This nuance in behavior becomes important in combination with
You can’t perform that action at this time.
0 commit comments