Skip to content

Commit 9926913

Browse files
committed
fix userMenu scroll
#298
1 parent 64ee5c8 commit 9926913

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugin/userMenu.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ namespace Menu {
2727
if(root.navFocus!=this) return menuNode::printTo(root,sel,out,idx,len,p);
2828
return idx<0?
2929
menuNode::printTo(root,sel,out,idx,len,p)://print the title
30-
printItem(out,idx,len);
30+
printItem(out,out.tops[root.level]+idx,len);
3131
}
3232
void doNav(navNode& nav,navCmd cmd) {
3333
if(nav.root->navFocus==this&&cmd.cmd==enterCmd) {

0 commit comments

Comments
 (0)