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

Reshape curves #1142

Merged
merged 6 commits into from Jul 28, 2020
Merged

Reshape curves #1142

merged 6 commits into from Jul 28, 2020

Conversation

fsih
Copy link
Contributor

@fsih fsih commented Jun 23, 2020

Resolves

Resolves #1143

Proposed Changes

Before
reshape before
After
reshape after

Reshaping only occurs if you click near the outline of the shape, not anywhere within the stroke

Reason for Changes

A reshape point appearing far away from where the user clicks is unexpected

Test Coverage

Tested manually

adroitwhiz
adroitwhiz previously approved these changes Jul 28, 2020
Copy link
Contributor

@adroitwhiz adroitwhiz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested this out and it looks good; you might want to clarify one comment though

Update comment to remove stroke

Co-authored-by: adroitwhiz <adroitwhiz@protonmail.com>
@fsih
Copy link
Contributor Author

fsih commented Jul 28, 2020

The lint issue might be jsx-eslint/eslint-plugin-react#2728

@adroitwhiz
Copy link
Contributor

@fsih yup, for now #1189 works as a fix

@fsih fsih merged commit 7da1c16 into scratchfoundation:develop Jul 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

You can reshape by clicking anywhere on a shape's stroke
2 participants