mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-24 02:40:24 +08:00
enhance: it's not necessary to invalidate measure of LineModifyTypeMargin when data context of text-diff-view changed
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
@@ -203,7 +203,7 @@ namespace SourceGit.Views
|
||||
protected override void OnDataContextChanged(EventArgs e)
|
||||
{
|
||||
base.OnDataContextChanged(e);
|
||||
InvalidateMeasure();
|
||||
InvalidateVisual();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user