toggleRevision switches the active revision to set
()
| 163 | |
| 164 | // toggleRevision switches the active revision to set |
| 165 | func (lv *VCSLog) toggleRevision() { |
| 166 | lv.setA = !lv.setA |
| 167 | lv.arev.UpdateRender() |
| 168 | lv.brev.UpdateRender() |
| 169 | } |
| 170 | |
| 171 | func (lv *VCSLog) makeToolbar(p *tree.Plan) { |
| 172 | tree.Add(p, func(w *core.Text) { |