mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08:00
Make sure SyncScrollOffset is updated after JumpToChangeBlock()
This commit is contained in:
parent
2edf01db3b
commit
cabf1e84d3
1 changed files with 2 additions and 0 deletions
|
@ -1589,6 +1589,8 @@ namespace SourceGit.Views
|
|||
foreach (var p in v.Editor.Presenter.GetVisualDescendants().OfType<ThemedTextDiffPresenter>())
|
||||
{
|
||||
p.JumpToChangeBlock((int)e.NewValue);
|
||||
if (p is SingleSideTextDiffPresenter ssp)
|
||||
ssp.ForceSyncScrollOffset();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue