Ver código fonte

fix tree items not being highlighted when active

master
Tim Cooper 10 anos atrás
pai
commit
cd99188e8a
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      ui_tree.go

+ 1
- 1
ui_tree.go Ver arquivo

@@ -25,7 +25,7 @@ func (ti TreeItem) TreeItemStyle(fg, bg uiterm.Attribute, active bool) (uiterm.A
fg |= uiterm.AttrBold
}
if active {
bg |= uiterm.AttrReverse
fg, bg = bg, fg
}
return fg, bg
}


Carregando…
Cancelar
Salvar