Skip to content

Commit

Permalink
typescript: add remove to MenuOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
bobrippling committed Dec 3, 2024
1 parent 77110ad commit 6d6a828
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libs/pixljs/jswrap_pixljs.c
Original file line number Diff line number Diff line change
Expand Up @@ -519,6 +519,7 @@ type MenuNumberItem = {
type MenuOptions = {
title?: string;
back?: () => void;
remove?: () => void;
selected?: number;
fontHeight?: number;
scroll?: number;
Expand Down Expand Up @@ -733,4 +734,4 @@ To remove the window, call `E.showAlert()` with no arguments.
}*/
void jswrap_pixljs_powerusage(JsVar *devices) {
jsvObjectSetChildAndUnLock(devices, "LCD", jsvNewFromInteger(lcdIsOn ? 170 : 20));
}
}

0 comments on commit 6d6a828

Please sign in to comment.