mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
unselecting correctly
This commit is contained in:
parent
c21b7c32a8
commit
bd2f73aea5
@ -81,6 +81,7 @@ func (widget *Widget) Prev() {
|
|||||||
|
|
||||||
func (widget *Widget) Unselect() {
|
func (widget *Widget) Unselect() {
|
||||||
widget.Selected = -1
|
widget.Selected = -1
|
||||||
|
widget.View.Highlight()
|
||||||
widget.View.ScrollToBeginning()
|
widget.View.ScrollToBeginning()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user