This commit is contained in:
陈思海 2025-12-17 18:02:29 +08:00
parent c9740c3fb6
commit b54983c866

View File

@ -337,8 +337,8 @@ public class UXButton : UXSelectable, IButton, IPointerClickHandler, ISubmitHand
public override void OnSelect(BaseEventData eventData) public override void OnSelect(BaseEventData eventData)
{ {
if (m_Navigation.mode == UXNavigation.Mode.None) return;
base.OnSelect(eventData); base.OnSelect(eventData);
m_IsNavFocused = true; m_IsNavFocused = true;
if (s_LockedButton != this) if (s_LockedButton != this)