Scroll most lists by finger dragging list contents

This commit is contained in:
Sergii Pylypenko
2019-08-31 23:34:02 +03:00
committed by pelya
parent d65c932893
commit 17ee6fa299
7 changed files with 64 additions and 10 deletions

View File

@@ -86,7 +86,7 @@ public:
this->vscroll->SetCount(ObjectClass::GetUIClassCount());
NWidgetMatrix *matrix = this->GetWidget<NWidgetMatrix>(WID_BO_SELECT_MATRIX);
matrix->SetScrollbar(this->GetScrollbar(WID_BO_SELECT_SCROLL));
matrix->SetScrollbar(this->GetScrollbar(WID_BO_SELECT_SCROLL), WID_BO_SELECT_SCROLL);
this->SelectOtherClass(_selected_object_class);
if (this->CanRestoreSelectedObject()) {