perf(ui-ext): approximate scroll_delta when scrolling too much (#24234)

This commit is contained in:
zeertzjq
2023-07-04 16:48:53 +08:00
committed by GitHub
parent e8b3ed74bc
commit a76b689b47
4 changed files with 250 additions and 15 deletions

View File

@@ -1226,6 +1226,7 @@ struct window_S {
bool w_viewport_invalid;
linenr_T w_viewport_last_topline; // topline when the viewport was last updated
linenr_T w_viewport_last_botline; // botline when the viewport was last updated
linenr_T w_viewport_last_topfill; // topfill when the viewport was last updated
linenr_T w_viewport_last_skipcol; // skipcol when the viewport was last updated