From ae83b6352fd37f706419e1c482b05472ae6645eb Mon Sep 17 00:00:00 2001 From: zhan-zhaoming <1933763540@qq.com> Date: Tue, 12 Dec 2023 04:17:59 -0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8C=89=E9=94=AEtouchdown?= =?UTF-8?q?=20=E5=92=8Ctouchup=E7=9A=84duration=E6=97=B6=E9=95=BF=EF=BC=8C?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=8C=89=E9=94=AE=E8=BE=93=E5=85=A5=E6=B3=95?= =?UTF-8?q?=EF=BC=8C=E6=B8=B2=E6=9F=93=E6=97=B6=E9=97=B4=E8=BF=87=E9=95=BF?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98=20Signed-off-by:=20zhan-zhaoming=20?= =?UTF-8?q??= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frameworks/core/components_ng/pattern/button/button_pattern.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/core/components_ng/pattern/button/button_pattern.cpp b/frameworks/core/components_ng/pattern/button/button_pattern.cpp index 34b814f7805..8ed46f17dda 100644 --- a/frameworks/core/components_ng/pattern/button/button_pattern.cpp +++ b/frameworks/core/components_ng/pattern/button/button_pattern.cpp @@ -32,7 +32,7 @@ namespace { constexpr float HOVER_OPACITY = 0.05f; constexpr float TOUCH_OPACITY = 0.1f; constexpr int32_t HOVER_TO_TOUCH_DURATION = 100; -constexpr int32_t TOUCH_DURATION = 250; +constexpr int32_t TOUCH_DURATION = 25; } // namespace void ButtonPattern::OnAttachToFrameNode() -- Gitee