Skip to content

Release v0.6.6

Choose a tag to compare

@github-actions github-actions released this 20 Jan 00:18

Release v0.6.6 - Fix continuous touch scrolling

CRITICAL FIX: Scrolling now works continuously while dragging

Problem reported by user:

  • Expected: Hold and drag finger → scroll continuously
  • Actual: Scrolled once, then stopped until finger lifted

Root cause:

  • Small continuous movements (2-5px/frame) rounded to 0 lines
  • Formula: round(3px / 50 * 5) = round(0.3) = 0 ❌
  • Only first large movement scrolled

Solution:

  • Accumulate fractional scroll amounts
  • scrollAccumulator += (diff / 50 * multiplier)
  • Scroll when accumulated >= 1 line
  • Preserve fractional remainder for smooth continuous scrolling

Example:

  • Frame 1: 3px → 0.3 lines accumulated
  • Frame 2: 3px → 0.6 lines accumulated
  • Frame 3: 3px → 0.9 lines accumulated
  • Frame 4: 3px → 1.2 lines → SCROLL 1 line, keep 0.2

Now supports smooth dragging at any speed!

Co-Authored-By: Claude Sonnet 4.5 noreply@anthropic.com