Skip to content

Persist new selected colours, even after a lost connection. #34

Description

@MatthewLM

Currently on iOS, when leaving the site and coming back later, the websocket connection is lost. The new pixel selections from pressing "I have made payment" are then removed.

When reconnecting, the selected pixels should be remembered and persist unless the underlying colour has changed.

Each pixel selected by the user will need to be remembered in a separate array. For these pixels, the old colours need to be remembered or otherwise determined. If the pixel colour of the newly downloaded canvas is the same, then the pixel should be set to the user's selected pixel. If the downloaded canvas pixel is different, then the pixel should be set to the new colour from the canvas.

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions