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

Rotation cause canvas corruption #6

Open
kuldeepdhaka opened this issue Feb 11, 2015 · 1 comment
Open

Rotation cause canvas corruption #6

kuldeepdhaka opened this issue Feb 11, 2015 · 1 comment

Comments

@kuldeepdhaka
Copy link

when ColorPickerDialog is visible and screen is rotated, older view is not cleared and new view is drawn. and the final view is corrupted

@harsimran1993
Copy link

harsimran1993 commented Jun 29, 2017

in onreisze add path.reset() at end before each path arcto() method

    colorViewPath.reset();
    colorViewPath.arcTo(outerWheelRect, 270, -180);
    colorViewPath.arcTo(innerWheelRect, 90, 180);

    valueSliderPath.reset();
    valueSliderPath.arcTo(outerWheelRect, 270, 180);
    valueSliderPath.arcTo(innerWheelRect, 90, -180);

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

No branches or pull requests

2 participants