From 4f852e7db00afa09b7e97246f4b535b3805c7995 Mon Sep 17 00:00:00 2001 From: Rob Pilling Date: Wed, 6 Nov 2024 07:43:51 +0000 Subject: [PATCH] typescript: add menu scroller --- libs/pixljs/jswrap_pixljs.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/libs/pixljs/jswrap_pixljs.c b/libs/pixljs/jswrap_pixljs.c index 3f7f6bf54..a29d18469 100644 --- a/libs/pixljs/jswrap_pixljs.c +++ b/libs/pixljs/jswrap_pixljs.c @@ -570,7 +570,16 @@ type MenuInstance = { draw: () => void; move: (n: number) => void; select: () => void; + scroller?: MenuScroller; // BangleJS 2 }; + +/** + * Menu scroller. + *\/ +type MenuScroller = { + scroll: number; +}; + */ /*JSON{