We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f973834 commit d9a1443Copy full SHA for d9a1443
src/Views/TextDiffView.axaml.cs
@@ -85,6 +85,12 @@ protected override Size MeasureOverride(Size availableSize)
85
}
86
87
88
+ protected override void OnDataContextChanged(EventArgs e)
89
+ {
90
+ base.OnDataContextChanged(e);
91
+ InvalidateMeasure();
92
+ }
93
+
94
private readonly CombinedTextDiffPresenter _editor;
95
private readonly bool _isOldLine;
96
@@ -458,6 +464,12 @@ protected override Size MeasureOverride(Size availableSize)
458
464
459
465
460
466
467
468
469
470
471
472
461
473
private readonly SingleSideTextDiffPresenter _editor;
462
474
463
475
0 commit comments