Skip to content

fix: remove tablet pressure stroke startup blot#235

Merged
devmobasa merged 1 commit into
mainfrom
fix/233-tablet-pressure-start-blot
May 30, 2026
Merged

fix: remove tablet pressure stroke startup blot#235
devmobasa merged 1 commit into
mainfrom
fix/233-tablet-pressure-start-blot

Conversation

@devmobasa
Copy link
Copy Markdown
Owner

@devmobasa devmobasa commented May 30, 2026

Fixes #233

Summary

  • Reseed in-progress tablet strokes with the first real pressure sample.
  • Avoid treating the pre-pressure base pen width as the stroke’s pressure peak.
  • Add regression coverage for pressure strokes that start before pressure data arrives.

Why

Tablet frames can deliver tip-down/motion before the first non-zero pressure sample. If the configured pen thickness is much larger than the tablet pressure range, the first stroke sample renders as a visible blot at the contact point.

@devmobasa devmobasa merged commit db69d00 into main May 30, 2026
2 checks passed
@devmobasa devmobasa deleted the fix/233-tablet-pressure-start-blot branch May 30, 2026 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] physical pen with pen-tool produces blot/dot at the beginning of line

1 participant