Incorrect drag event coordinates

Posted on
  • I've noticed in the Bangle 2 emulator that when dragging off the top or left of the screen, the x/y coordinates become 255/253/252/etc - suspiciously like negative numbers cast to 8-bit unsigned integers.

    Dragging on/off at those borders also produces spurious very large negative dx/dy values, probably due to the above issue.

    Should I report this on the github tracker, or will here do?

  • Thanks - no here's fine. There was a recent PR to add a configurable border, and I imagine that broke it :( I'll get a fix in and it should go live later this week.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Incorrect drag event coordinates

Posted by Avatar for andrewg_oz @andrewg_oz

Actions