MoveUp moves the selection up.
()
| 84 | |
| 85 | // MoveUp moves the selection up. |
| 86 | func (s *SettingsOverlay) MoveUp() { |
| 87 | if s.selectedIndex > 0 { |
| 88 | s.selectedIndex-- |
| 89 | } |
| 90 | } |
| 91 | |
| 92 | // MoveDown moves the selection down. |
| 93 | func (s *SettingsOverlay) MoveDown() { |
no outgoing calls