Browse Source

Fix incorrect List offset in DropDown

merge-requests/3/head
Trevor Slocum 2 years ago
parent
commit
d6093272ed
  1. 2
      list.go

2
list.go

@ -649,6 +649,8 @@ func (l *List) transform(tr Transformation) {
}
func (l *List) updateOffset() {
_, _, _, l.height = l.GetInnerRect()
if l.currentItem < l.offset {
l.offset = l.currentItem
} else if l.showSecondaryText {

Loading…
Cancel
Save