mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 04:04:59 +00: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…
Add table
Add a link
Reference in a new issue