From 08fc069281486c36cca575fac6478521f425a2d2 Mon Sep 17 00:00:00 2001 From: leo Date: Tue, 13 Aug 2024 12:18:26 +0800 Subject: [PATCH] enhance: disable selection while click issue link --- src/Views/CommitMessagePresenter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Views/CommitMessagePresenter.cs b/src/Views/CommitMessagePresenter.cs index 1ab93ecd..f540b272 100644 --- a/src/Views/CommitMessagePresenter.cs +++ b/src/Views/CommitMessagePresenter.cs @@ -120,7 +120,7 @@ namespace SourceGit.Views { if (_lastHover != null) { - SetCurrentValue(SelectionEndProperty, SelectionStart); + e.Pointer.Capture(null); Native.OS.OpenBrowser(_lastHover.URL); ClearHoveredIssueLink(); e.Handled = true;