You are reading a single comment by @gerardwr and its replies. Click here to read the full conversation.
  • Hi @Gordon, thanks for getting back to me.

    Yes, your example works fine, as intended:

    • reset the getModified
    • draw something
    • the getModified defines the "touched" area.

    But ........ I have an App where sometimes (depending on the code) there is no drawing done, when I clear the getModified area, it blanks the screen, and that's not what I want.

    I thought it would be more applicable if getModified(true) would be set to "nothing is modified, so nothing needs to be cleared" { x1: 0, y1: 0, x2: 0, y2: 0}. Or ....... it would be set to undefined, that's logical to me too.

    I don't get the logic for resetting to the entire screen, am I missing something?


Avatar for gerardwr @gerardwr started