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:
leo
2025-09-02 15:17:24 +08:00
parent e09e1bdff3
commit f2e8fa3289

View File

@@ -203,7 +203,7 @@ namespace SourceGit.Views
protected override void OnDataContextChanged(EventArgs e)
{
base.OnDataContextChanged(e);
InvalidateMeasure();
InvalidateVisual();
}
}