mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-22 10:55:00 +00:00
enhance: fore invalidate measure after data context of BisectStateIndicator
changed
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
d44d2b9770
commit
91acf0a32a
2 changed files with 9 additions and 1 deletions
|
@ -65,6 +65,12 @@ namespace SourceGit.Views
|
|||
RenderImpl(context, Brushes.Red, _bad, x);
|
||||
}
|
||||
|
||||
protected override void OnDataContextChanged(EventArgs e)
|
||||
{
|
||||
base.OnDataContextChanged(e);
|
||||
InvalidateMeasure();
|
||||
}
|
||||
|
||||
protected override Size MeasureOverride(Size availableSize)
|
||||
{
|
||||
var desiredFlags = Models.BisectCommitFlag.None;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue