Bangle 2 menu and event questions. #5122
Unanswered
espruino-discuss2
asked this question in
Bangle.js
Replies: 1 comment
-
Posted at 2022-08-22 by Hank In https://github.com/espruino/BangleApps/blob/fb7b69379a61d70bdde176837533e67cd2f6b288/apps/drinkcounter/app.js#L239 I'm checking the coordinates of the touch. Maybe that would be an approach. Posted at 2022-08-22 by @thyttan I think you only need to remove the touch listener that you introduced on line 11. See my answer on another thread. I first learnt that here. EDIT: And here's the documentation. Posted at 2022-08-23 by CarlR Many thanks for the replies. @thyttan put me on the right track with listeners. Here's the working code...
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2022-08-20 by CarlR
How do you terminate events in Bangle 2? Here's the problem I'm having...
After closing the menu there, a tap on the screen opens it again. However, if you tap where the "Close Menu" choice was, the menu promptly closes again. What's the best fix for this?
Beta Was this translation helpful? Give feedback.
All reactions