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

Drawing and selecting only a stroke causes crash #14

Closed
Luxapodular opened this issue Dec 7, 2018 · 1 comment
Closed

Drawing and selecting only a stroke causes crash #14

Luxapodular opened this issue Dec 7, 2018 · 1 comment
Labels
bug Something isn't working

Comments

@Luxapodular
Copy link
Member

On a fresh project, drawing a path with the pencil tool, then attempting to select that object causes a

TypeError: window.paper.project.selection.bounds is null

error.

@Luxapodular Luxapodular added the bug Something isn't working label Dec 7, 2018
@Luxapodular
Copy link
Member Author

Luxapodular commented Dec 7, 2018

This issue occurs on both the pencil and the line tool only. This only occurs for the first object drawn.

It seems as though the selection understands that it contains an item, but it simply has not calculated the bounds for that item. This does not seem to cause an issue in the paper-js drawing tools library.

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

No branches or pull requests

2 participants