enhance: disable selection while click issue link

This commit is contained in:
leo 2024-08-13 12:18:26 +08:00
parent 202aa379f8
commit 08fc069281
No known key found for this signature in database

View file

@ -120,7 +120,7 @@ namespace SourceGit.Views
{ {
if (_lastHover != null) if (_lastHover != null)
{ {
SetCurrentValue(SelectionEndProperty, SelectionStart); e.Pointer.Capture(null);
Native.OS.OpenBrowser(_lastHover.URL); Native.OS.OpenBrowser(_lastHover.URL);
ClearHoveredIssueLink(); ClearHoveredIssueLink();
e.Handled = true; e.Handled = true;