mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-11-01 13:13:21 -07:00
fix: LineNumberMargin did not recalculate required size after data context changed
This commit is contained in:
parent
f973834dab
commit
d9a14432cc
1 changed files with 12 additions and 0 deletions
|
@ -85,6 +85,12 @@ namespace SourceGit.Views
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected override void OnDataContextChanged(EventArgs e)
|
||||||
|
{
|
||||||
|
base.OnDataContextChanged(e);
|
||||||
|
InvalidateMeasure();
|
||||||
|
}
|
||||||
|
|
||||||
private readonly CombinedTextDiffPresenter _editor;
|
private readonly CombinedTextDiffPresenter _editor;
|
||||||
private readonly bool _isOldLine;
|
private readonly bool _isOldLine;
|
||||||
}
|
}
|
||||||
|
@ -458,6 +464,12 @@ namespace SourceGit.Views
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected override void OnDataContextChanged(EventArgs e)
|
||||||
|
{
|
||||||
|
base.OnDataContextChanged(e);
|
||||||
|
InvalidateMeasure();
|
||||||
|
}
|
||||||
|
|
||||||
private readonly SingleSideTextDiffPresenter _editor;
|
private readonly SingleSideTextDiffPresenter _editor;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue