Fixed resizing issue in DarkComboBox

We have to clear the graphics buffer when resizing.
This commit is contained in:
Jan Robas 2020-03-26 19:39:09 +01:00
parent d04cadf105
commit 7ac360edd0

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)