Adjusting offset in List.SetCurrentItem(), resolves #789

This commit is contained in:
Oliver 2023-01-01 15:08:11 +01:00
parent b86a50a512
commit c9f4e98e28
1 changed files with 2 additions and 0 deletions

View File

@ -113,6 +113,8 @@ func (l *List) SetCurrentItem(index int) *List {
l.currentItem = index
l.adjustOffset()
return l
}