We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b38212a commit 5a81eabCopy full SHA for 5a81eab
src/Views/CommitMessagePresenter.cs
@@ -110,16 +110,17 @@ protected override void OnPointerPressed(PointerPressedEventArgs e)
110
if (_lastHover != null)
111
{
112
var link = _lastHover.Link;
113
+ var type = _lastHover.Type;
114
e.Pointer.Capture(null);
115
- if (_lastHover.Type == Models.InlineElementType.CommitSHA)
116
+ if (type == Models.InlineElementType.CommitSHA)
117
118
var parentView = this.FindAncestorOfType<CommitBaseInfo>();
119
if (parentView is { DataContext: ViewModels.CommitDetail detail })
120
121
if (point.Properties.IsLeftButtonPressed)
122
- detail.NavigateTo(_lastHover.Link);
123
+ detail.NavigateTo(link);
124
}
125
else if (point.Properties.IsRightButtonPressed)
126
0 commit comments