ha: function -> arrow

pull/3375/head
Rob Pilling 2024-04-21 19:33:00 +01:00
parent 216b30d640
commit 8d8008658a
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ function sendTrigger() {
});
}
Bangle.on('touch', function(btn, e){
Bangle.on('touch', (btn, e) => {
var left = g.getWidth() * 0.3;
var right = g.getWidth() - left;
var isLeft = e.x < left;