fix(messages): reset msg_grid_scroll_discount when redrawing (#21000)

This commit is contained in:
zeertzjq
2022-11-10 06:16:54 +08:00
committed by GitHub
parent fae7540732
commit f2857dcd5a
4 changed files with 17 additions and 1 deletions

View File

@@ -66,6 +66,8 @@ EXTERN ScreenGrid msg_grid_adj INIT(= SCREEN_GRID_INIT);
// value of msg_scrolled at latest msg_scroll_flush.
EXTERN int msg_scrolled_at_flush INIT(= 0);
EXTERN int msg_grid_scroll_discount INIT(= 0);
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "message.h.generated.h"
#endif