feature: hover on tag view shows the message of it (#567)

This commit is contained in:
leo 2024-10-17 14:57:05 +08:00
parent 9ed5226eab
commit f6e0b0b1c0
No known key found for this signature in database
5 changed files with 67 additions and 57 deletions

View file

@ -12,6 +12,11 @@ namespace SourceGit.ViewModels
public Models.Tag Tag { get; private set; } = null;
public List<TagTreeNode> Children { get; private set; } = [];
public object ToolTip
{
get => Tag?.Message;
}
public bool IsFolder
{
get => Tag == null;