MoveUp moves the selection up.
()
| 240 | |
| 241 | // MoveUp moves the selection up. |
| 242 | func (p *PRDPicker) MoveUp() { |
| 243 | if p.inputMode { |
| 244 | return |
| 245 | } |
| 246 | if p.selectedIndex > 0 { |
| 247 | p.selectedIndex-- |
| 248 | } |
| 249 | } |
| 250 | |
| 251 | // MoveDown moves the selection down. |
| 252 | func (p *PRDPicker) MoveDown() { |
no outgoing calls
no test coverage detected