mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 04:34:59 +00: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…
Add table
Add a link
Reference in a new issue