From 1c1137e362b1b6c63d0a35a91642700d90510c68 Mon Sep 17 00:00:00 2001 From: vodyanoysh Date: Tue, 31 Mar 2026 22:05:55 +0700 Subject: [PATCH] =?UTF-8?q?=D0=BD=D0=B0=D1=81=D1=82=D1=80=D0=BE=D0=B9?= =?UTF-8?q?=D0=BA=D0=B0:=20=D0=B4=D0=BE=D0=BF=D0=BE=D0=BB=D0=BD=D0=B8?= =?UTF-8?q?=D1=82=D0=B5=D0=BB=D1=8C=D0=BD=D0=BE=D0=B5=20=D1=81=D0=BD=D0=B8?= =?UTF-8?q?=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=20=D1=87=D1=83=D0=B2=D1=81=D1=82?= =?UTF-8?q?=D0=B2=D0=B8=D1=82=D0=B5=D0=BB=D1=8C=D0=BD=D0=BE=D1=81=D1=82?= =?UTF-8?q?=D0=B8=20=D1=81=D0=B2=D0=B0=D0=B9=D0=BF=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit MIN_DRAG: 22 → 38px, DEAD_ZONE: 28 → 44px, H_RATIO: 1.8 → 2.2 Co-Authored-By: Claude Sonnet 4.6 --- src/renderer/src/components/messages/MessageListItem.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/renderer/src/components/messages/MessageListItem.vue b/src/renderer/src/components/messages/MessageListItem.vue index 349eae5..049460c 100644 --- a/src/renderer/src/components/messages/MessageListItem.vue +++ b/src/renderer/src/components/messages/MessageListItem.vue @@ -31,16 +31,16 @@ const dateDisplay = computed(() => formatMessageDate(props.message.date)) // Constants // ───────────────────────────────────────────────────────────── const CLICK_DIST = 6 // px — max displacement to count as a tap/click -const MIN_DRAG = 22 // px horizontal before we start the visual swipe +const MIN_DRAG = 38 // px horizontal before we start the visual swipe const TRIGGER = 90 // px visual offset → action fires const FLICK_SPEED = 14 // last-event deltaX that counts as a "flick" const FLICK_RATIO = 0.55 // flick trigger = TRIGGER * FLICK_RATIO -const DEAD_ZONE = 28 // px accumulated deltaX before item starts moving +const DEAD_ZONE = 44 // px accumulated deltaX before item starts moving (wheel) const SCALE = 0.50 // visual px per accumulated deltaX past dead zone const RUBBER_PEAK = 72 // visual px where rubber-band starts const RUBBER_K = 0.12 // fraction of excess applied past rubber peak const IDLE_MS = 130 // ms of wheel silence → gesture over -const H_RATIO = 1.8 // deltaX must be ≥ deltaY × H_RATIO to start gesture +const H_RATIO = 2.2 // deltaX must be ≥ deltaY × H_RATIO to start gesture // ───────────────────────────────────────────────────────────── // Reactive / template state