Move OnLoad to base type

This commit is contained in:
John Lewin 2018-05-21 12:57:59 -07:00
parent 2860f4097e
commit e934bb40ff
3 changed files with 6 additions and 12 deletions

View file

@ -277,12 +277,6 @@ namespace MatterHackers.MatterControl.CustomWidgets
}
}
public override async void OnLoad(EventArgs args)
{
base.OnLoad(args);
await this.LoadItemThumbnail();
}
public override Color BackgroundColor
{
get => this.IsSelected ? theme.AccentMimimalOverlay : Color.Transparent;