espruino / Espruino

The Espruino JavaScript interpreter - Official Repo
http://www.espruino.com/
Other
2.75k stars 739 forks source link

[E.showMenu_Q3] (wip) add setClipRect to avoid draw over widgets #2347

Closed thyttan closed 1 year ago

thyttan commented 1 year ago

WIP

No extensive testing done yet, but seems to work in the case I've tested.

One solution to https://github.com/espruino/BangleApps/issues/2670#issuecomment-1496426671

gfwilliams commented 1 year ago

Sorry, but I'm afraid this won't work:

I think what I'd suggested on https://github.com/espruino/BangleApps/issues/2670 - either redrawing the widgets if it overlaps them, or scrolling onto the screen would be more reliable

thyttan commented 1 year ago

Thank you for the explanation! 🙂