v5.1.1

parruda/swarmv5.1.1Jun 12, 2026by huppy-bot[bot]

AI Summary

Fixes a specific bug in the editor where pen mode behaves unexpectedly when touch interactions are present.

Key Highlights

  • Fixed editor forgetting previous touch interactions when entering pen mode
  • Resolves issue where line starts incorrectly when pen touches screen

New Features

  • Pen mode touch interaction fix

Full Release Notes

Generated from commits between `v5.1.0` and `HEAD`

## Bug Fixes

### fix(editor): forgets previous touch interactions when entering pen mode ([#9162](https://github.com/tldraw/tldraw/issues/9162))

- Fixed a bug when user enter pen mode while a finger/hand is on the
touch screen device. We cancel previous touches and the line starts
where the pen first touched the screen.