mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08:00
ux: add style for issue link hovered
This commit is contained in:
parent
08fc069281
commit
435c12b340
2 changed files with 4 additions and 0 deletions
|
@ -106,6 +106,8 @@ namespace SourceGit.Views
|
||||||
return;
|
return;
|
||||||
|
|
||||||
_lastHover = match;
|
_lastHover = match;
|
||||||
|
_lastHover.Link.Classes.Add("issue_link_hovered");
|
||||||
|
|
||||||
SetCurrentValue(CursorProperty, Cursor.Parse("Hand"));
|
SetCurrentValue(CursorProperty, Cursor.Parse("Hand"));
|
||||||
ToolTip.SetTip(this, match.URL);
|
ToolTip.SetTip(this, match.URL);
|
||||||
ToolTip.SetIsOpen(this, true);
|
ToolTip.SetIsOpen(this, true);
|
||||||
|
|
|
@ -253,6 +253,8 @@ namespace SourceGit.Views
|
||||||
return;
|
return;
|
||||||
|
|
||||||
_lastHover = match;
|
_lastHover = match;
|
||||||
|
_lastHover.Link.Classes.Add("issue_link_hovered");
|
||||||
|
|
||||||
SetCurrentValue(CursorProperty, Cursor.Parse("Hand"));
|
SetCurrentValue(CursorProperty, Cursor.Parse("Hand"));
|
||||||
ToolTip.SetTip(this, match.URL);
|
ToolTip.SetTip(this, match.URL);
|
||||||
ToolTip.SetIsOpen(this, true);
|
ToolTip.SetIsOpen(this, true);
|
||||||
|
|
Loading…
Reference in a new issue