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

Update PolygonView.java #37

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

LeeKangUk
Copy link

added invalidate method.
It will be more natural by preventing the square twist.

Kanguk Lee added 2 commits April 20, 2017 09:09
added invalidate method.
It will be more natural by preventing the square twist.
Added superInvalidate() method
That's just the original invalidate method.

Used to move the midpointer.
@@ -238,7 +238,11 @@ public boolean onTouch(View v, MotionEvent event) {
default:
break;
}
polygonView.invalidate();
if (eid == MotionEvent.ACTION_MOVE) {
Copy link
Owner

Choose a reason for hiding this comment

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

Thank you for the PR. Could you please help me understand the reason behind these changes.

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.

2 participants