Skip to content

Rotation cause canvas corruption #6

Open

Description

@kuldeepdhaka

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

Activity

  1. harsimran1993 commented on Jun 29, 2017

    @harsimran1993

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions