From 527226b1fb5255de6d9e65ae1840ce8388cb097b Mon Sep 17 00:00:00 2001 From: kazachilo Date: Wed, 26 Mar 2025 11:22:01 +0300 Subject: [PATCH] =?UTF-8?q?fix:=20=D1=81=D0=B8=D0=BD=D1=85=D1=80=D0=BE?= =?UTF-8?q?=D0=BD=D0=B8=D0=B7=D0=B0=D1=86=D0=B8=D1=8F=20=D0=B2=D0=B8=D0=B1?= =?UTF-8?q?=D1=80=D0=B0=D1=86=D0=B8=D0=B8=20=D0=B8=20=D0=BF=D0=BE=D1=8F?= =?UTF-8?q?=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D1=8F=20=D0=BA=D1=80=D0=B5=D1=81?= =?UTF-8?q?=D1=82=D0=B8=D0=BA=D0=BE=D0=B2=20=D0=B2=20=D1=80=D0=B5=D0=B6?= =?UTF-8?q?=D0=B8=D0=BC=D0=B5=20=D1=83=D0=B4=D0=B0=D0=BB=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Уменьшено время таймера долгого нажатия с 800ms до 500ms - Крестики теперь появляются сразу после системной вибрации --- src/screens/Gallery.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/screens/Gallery.tsx b/src/screens/Gallery.tsx index bbb50b4..8dc9a13 100644 --- a/src/screens/Gallery.tsx +++ b/src/screens/Gallery.tsx @@ -42,7 +42,7 @@ const GalleryScreen: React.FC = () => { const startLongPressTimer = useCallback((image: GeneratedImage) => { longPressTimer.current = setTimeout(() => { handleLongPress(image); - }, 800); // 800ms для долгого нажатия + }, 500); // 500ms для синхронизации с системной вибрацией }, [handleLongPress]); const cancelLongPressTimer = useCallback(() => {