Fix crash when scrolling too far up

This commit is contained in:
Přemysl Eric Janouch 2023-06-15 14:45:26 +02:00
parent ebda305e2d
commit d0d248e44c
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 1 additions and 0 deletions

View File

@ -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: