FIX: scroll offset with touch pad

Change-Id: I7dbec590f39f174c02e4179fd781ff7fd1a93374
This commit is contained in:
chunmao.guo 2022-11-22 17:30:37 +08:00 committed by Lane.Wei
parent fee419797d
commit 3b3ad1b390
4 changed files with 15 additions and 11 deletions

View file

@ -122,6 +122,7 @@ private:
int m_hit_type = HIT_NONE;
size_t m_hit_item = size_t(-1);
int m_scroll_offset = 0;
int m_row_offset = 0; // 1/4 row height
int m_row_count = 0; // 1/4 row height
int m_col_count = 1;