Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Add padding to canvas placement offset to avoid clipping #39

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

sindrel
Copy link
Owner

@sindrel sindrel commented Feb 14, 2024

  • Fixes issue with clipping on top-left objects, i.e. when objects have significant line stroke width.
  • Compensates by substracting 10px from horizontal and vertical canvas offset.

@sindrel sindrel added the bug Something isn't working label Feb 14, 2024
@sindrel sindrel self-assigned this Feb 14, 2024
@sindrel sindrel merged commit e09c13a into master Feb 14, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant