mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-23 10:22:13 +08:00
enhance: do NOT auto focus the text editor when there's no highlighted commit (#448)
This commit is contained in:
@@ -336,7 +336,7 @@ namespace SourceGit.Views
|
||||
|
||||
private void OnTextAreaPointerWheelChanged(object sender, PointerWheelEventArgs e)
|
||||
{
|
||||
if (!TextArea.IsFocused)
|
||||
if (!TextArea.IsFocused && !string.IsNullOrEmpty(_highlight))
|
||||
Focus();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user