fix: DisplayRange is not updated when text diff view is opened for the first time
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions

This commit is contained in:
leo 2024-11-26 19:52:13 +08:00
parent a1c48dd11b
commit bb41fcea3e
No known key found for this signature in database

View file

@ -619,6 +619,7 @@ namespace SourceGit.Views
TextArea.TextView.VisualLinesChanged += OnTextViewVisualLinesChanged; TextArea.TextView.VisualLinesChanged += OnTextViewVisualLinesChanged;
UpdateTextMate(); UpdateTextMate();
OnTextViewVisualLinesChanged(null, null);
} }
protected override void OnUnloaded(RoutedEventArgs e) protected override void OnUnloaded(RoutedEventArgs e)