clock_info: adjust CLKINFO_FOCUS defaulting

pull/3366/head
Rob Pilling 2024-04-19 09:00:25 +01:00
parent 2bbef9f740
commit e949951559
1 changed files with 1 additions and 1 deletions

View File

@ -298,7 +298,7 @@ exports.addInteractive = function(menu, options) {
};
const focus = () => {
let redraw = true;
Bangle.CLKINFO_FOCUS = (Bangle.CLKINFO_FOCUS || 0) + 1;
Bangle.CLKINFO_FOCUS = (0 | Bangle.CLKINFO_FOCUS) + 1;
if (!options.focus) {
options.focus=true;
const itm = menu[options.menuA].items[options.menuB];