Merge pull request #26 from janrobas/master

Fixed resizing issue in DarkComboBox
This commit is contained in:
Robin 2020-03-27 10:37:28 +00:00 committed by GitHub
commit 113b267490
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,6 +95,13 @@ namespace DarkUI.Controls
PaintCombobox();
}
protected override void OnResize(EventArgs e)
{
base.OnResize(e);
_buffer = null;
Invalidate();
}
private void PaintCombobox()
{
if (_buffer == null)