mirror of
https://github.com/taigrr/wtf
synced 2026-04-01 05:28:48 -07:00
unselecting correctly
This commit is contained in:
@@ -81,6 +81,7 @@ func (widget *Widget) Prev() {
|
||||
|
||||
func (widget *Widget) Unselect() {
|
||||
widget.Selected = -1
|
||||
widget.View.Highlight()
|
||||
widget.View.ScrollToBeginning()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user