fix: lower quick-escape threshold to 15px/frame for easier triggering
Console logs showed user reaching 22px/frame when trying to escape, but 30px threshold was too high. This required an unrealistically aggressive mouse flick. Changes: - Lower QUICK_MOVE_THRESHOLD from 30px to 15px/frame (2x easier to trigger) - Increase PRECISION_MODE_COOLDOWN from 800ms to 1200ms (more time to escape area) With these values, moderate-speed mouse movements will trigger escape, and users have more time to move away before precision mode can re-activate. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
e712bcd66d
commit
97b214da12
|
|
@ -175,8 +175,8 @@ export function MapRenderer({
|
|||
|
||||
// Configuration
|
||||
const HOVER_DELAY_MS = 500 // Time to hover before super zoom activates
|
||||
const QUICK_MOVE_THRESHOLD = 30 // Pixels per frame - exceeding this cancels dampening/zoom
|
||||
const PRECISION_MODE_COOLDOWN_MS = 800 // Cooldown after quick-escape before precision can re-activate
|
||||
const QUICK_MOVE_THRESHOLD = 15 // Pixels per frame - exceeding this cancels dampening/zoom
|
||||
const PRECISION_MODE_COOLDOWN_MS = 1200 // Cooldown after quick-escape before precision can re-activate
|
||||
const SUPER_ZOOM_MULTIPLIER = 2.5 // Super zoom is 2.5x the normal adaptive zoom
|
||||
|
||||
// Adaptive dampening based on smallest region size
|
||||
|
|
|
|||
Loading…
Reference in New Issue