mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08:00
enhance: force InvalidateVisual
This commit is contained in:
parent
70f2bda097
commit
d601ca6b23
1 changed files with 2 additions and 0 deletions
|
@ -191,9 +191,11 @@ namespace SourceGit.Views
|
||||||
requiredWidth += label.Width + 16 /* icon */ + 8 /* label margin */ + 4 /* item right margin */;
|
requiredWidth += label.Width + 16 /* icon */ + 8 /* label margin */ + 4 /* item right margin */;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
InvalidateVisual();
|
||||||
return new Size(requiredWidth, 16);
|
return new Size(requiredWidth, 16);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
InvalidateVisual();
|
||||||
return new Size(0, 0);
|
return new Size(0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue