hch
2025-10-17 cb653cf75b17b9bdca0b5b9e6b88edf1ca72e90c
Main/Component/UI/Common/LongPressButton.cs
@@ -75,6 +75,13 @@
    {
        if (m_IsButtonDown)
        {
            if (!this.interactable || !this.IsActive() || !this.enabled)
            {
                // 如果按钮不可用,则取消长按状态
                m_IsButtonDown = false;
                m_LongPress = false;
                return;
            }
            m_PressTime += Time.deltaTime;
            if (m_PressTime < m_LongPressCheckTime)
            {