diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2023-06-15 14:45:26 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2023-06-15 14:45:26 +0200 |
commit | d0d248e44c9270076ac5c0cb51fb3a14a354cc2b (patch) | |
tree | a23781a9a397db15a71aefadaac92fdf3e3b287f | |
parent | ebda305e2de85015b202f2a50ec25dc05f701f33 (diff) | |
download | nncmpp-d0d248e44c9270076ac5c0cb51fb3a14a354cc2b.tar.gz nncmpp-d0d248e44c9270076ac5c0cb51fb3a14a354cc2b.tar.xz nncmpp-d0d248e44c9270076ac5c0cb51fb3a14a354cc2b.zip |
Fix crash when scrolling too far up
-rw-r--r-- | nncmpp.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2961,6 +2961,7 @@ app_process_left_mouse_click (struct widget *w, int x, int y, int modifiers) tab->item_top = (double) y / w->height * (int) tab->item_count - visible_items / 2; app_invalidate (); + app_fix_view_range (); break; } case WIDGET_MESSAGE: |