MoveUp moves selection up.
()
| 150 | |
| 151 | // MoveUp moves selection up. |
| 152 | func (b *BranchWarning) MoveUp() { |
| 153 | if b.selectedIndex > 0 { |
| 154 | b.selectedIndex-- |
| 155 | } |
| 156 | } |
| 157 | |
| 158 | // MoveDown moves selection down. |
| 159 | func (b *BranchWarning) MoveDown() { |
no outgoing calls