You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • @gerardwr can you come up with some code that causes the getModified(true) issue in the emulator and post it here? https://www.espruino.com/ide/emulator.html

    Seems to work great for me:

    >g.getModified(true)
    ={ x1: 0, y1: 0, x2: 239, y2: 239 }
    >g.getModified(true)
    =undefined
    >g.drawString("Hello")
    =Graphics: {
      flip: function () { [native code] }
     }
    >g.getModified(true)
    ={ x1: 0, y1: 0, x2: 28, y2: 6 }
    >g.getModified(true)
    =undefined
    >g.clear()
    =Graphics: {
      flip: function () { [native code] }
     }
    >g.getModified(true)
    ={ x1: 0, y1: 0, x2: 239, y2: 239 }
    >g.getModified(true)
    =undefined
    
About

Avatar for Gordon @Gordon started