patch 9.1.1451: tabpanel rendering artifacts when scrolling

Problem:  tabpanel rendering artifacts when scrolling
Solution: update scrolling logic (Hirohito Higashi)

fixes: #17495
closes: #17496

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Hirohito Higashi
2025-06-10 20:42:06 +02:00
committed by Christian Brabandt
parent 1319009d59
commit 30b4ddf925
3 changed files with 5 additions and 12 deletions

View File

@ -6226,14 +6226,7 @@ shell_new_columns(void)
if (!skip_win_fix_scroll)
win_fix_scroll(TRUE);
#ifdef FEAT_GUI
if (gui.in_use && !gui.starting)
{
if (scroll_region)
scroll_region_reset();
scroll_start(); // may scroll the screen to the right position
}
#endif
redraw_tabline = TRUE;
#if defined(FEAT_TABPANEL)
redraw_tabpanel = TRUE;