=> 77def5236713cb4d67dc3ff460c8fc0918aece0f
[1mdiff --git a/src/ui/bindingswidget.c b/src/ui/bindingswidget.c[m [1mindex b55608c1..53a48b9c 100644[m [1m--- a/src/ui/bindingswidget.c[m [1m+++ b/src/ui/bindingswidget.c[m [36m@@ -143,6 +143,7 @@[m [mstatic void setActiveItem_BindingsWidget_(iBindingsWidget *d, size_t pos) {[m item->isWaitingForEvent = iTrue;[m invalidateItem_ListWidget(d->list, d->activePos);[m }[m [32m+[m[32m setScrollMode_ListWidget(d->list, d->activePos != iInvalidPos);[m #if defined (iPlatformAppleDesktop) && defined (LAGRANGE_MAC_CONTEXTMENU)[m /* Native menus must be disabled while grabbing keys so the shortcuts don't trigger. */[m const iBool enableNativeMenus = (d->activePos == iInvalidPos);[m [1mdiff --git a/src/ui/listwidget.c b/src/ui/listwidget.c[m [1mindex 8b7d61e7..482e0368 100644[m [1m--- a/src/ui/listwidget.c[m [1m+++ b/src/ui/listwidget.c[m [36m@@ -518,9 +518,12 @@[m [mstatic iBool processEvent_ListWidget_(iListWidget *d, const SDL_Event *ev) {[m case SDLK_PAGEDOWN:[m case SDLK_HOME:[m case SDLK_END: {[m [31m- const int step = cursorKeyStep_ListWidget_(d, key);[m [31m- moveCursor_ListWidget_(d, step, iAbs(step) == 1 ? 0 : 150);[m [31m- return iTrue;[m [32m+[m[32m if (d->scrollMode == normal_ScrollMode) {[m [32m+[m[32m const int step = cursorKeyStep_ListWidget_(d, key);[m [32m+[m[32m moveCursor_ListWidget_(d, step, iAbs(step) == 1 ? 0 : 150);[m [32m+[m[32m return iTrue;[m [32m+[m[32m }[m [32m+[m[32m return iFalse;[m }[m case SDLK_RETURN:[m case SDLK_KP_ENTER:[m
text/gemini; charset=utf-8
This content has been proxied by September (ba2dc).