Skip to content

Commit

Permalink
E_showMenu_Q3: undo nonsensical tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
thyttan committed Oct 8, 2024
1 parent cc610eb commit 09096dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/js/banglejs/E_showMenu_Q3.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@
g.setColor(g.theme.fg2).setFont("12x20").setFontAlign(-1,0).drawString((item.format) ? item.format(v,1) : v, r.x+12, r.y+H/2);
g.drawImage(/* 20x20 */atob(v==item.value?"FBSBAAH4AH/gHgeDgBww8MY/xmf+bH/jz/88//PP/zz/88f+Nn/mY/xjDww4AcHgeAf+AB+A":"FBSBAAH4AH/gHgeDgBwwAMYABmAAbAADwAA8AAPAADwAA8AANgAGYABjAAw4AcHgeAf+AB+A"), r.x+r.w-32, r.y+H/2-10);
},
select : function(idx, touch) {
select : function(idx) {
if (idx<0) return; // TITLE
Bangle.buzz(20);
item.value = item.min + idx*step;
if (item.onchange) item.onchange(item.value, touch);
if (item.onchange) item.onchange(item.value);
scr.scroll = l.scroller.scroll; // set scroll to prev position
show(); // redraw original menu
}
Expand Down

0 comments on commit 09096dd

Please sign in to comment.