Skip to content

Commit 70bff2d

Browse files
author
thyttan
committed
messagegui: small tweaks
1 parent d0fc2b1 commit 70bff2d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/messagegui/app.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,7 @@ function showMessagesScroller(msg) {
384384
// if ((left side of Banlge 1 screen) || (top left corner of Bangle 2 screen))
385385
if ((!xy && 1===button) || (xy && xy.type===0 && xy.x<30 && xy.y<30)) {
386386
if (!persist) {return load();}
387+
WU&&WU.show();
387388
returnToMain();
388389
E.stopEventPropagation();
389390
Bangle.removeListener("touch", touchHandler);
@@ -407,7 +408,7 @@ function showMessagesScroller(msg) {
407408
setTimeout(()=>{
408409
if (!persist) {return load();}
409410
Bangle.removeListener("touch", touchHandler);
410-
Bangle.emit("touch",1, {type:{back:true}});
411+
Bangle.emit("touch",1, {x:Math.floor(APP_RECT.x2/2), y:Math.floor(APP_RECT.y2/2), type:{back:true}});
411412
},0);
412413
}, BTN);
413414
}

0 commit comments

Comments
 (0)