Ensure icon is loaded after .InvertIcons property is deserialized
- Issue MatterHackers/MatterControl#4826 Thumbnail generating icon is not theme aware
This commit is contained in:
parent
58e44fe170
commit
11be9e16f5
1 changed files with 3 additions and 0 deletions
|
|
@ -238,6 +238,9 @@ namespace MatterHackers.MatterControl
|
|||
// {
|
||||
// this.BedColor = this.ResolveColor(this.BackgroundColor, Color.Gray.WithAlpha(60));
|
||||
// }
|
||||
|
||||
// EnsureDefaults is called after deserialization and at a point when state should be fully loaded. Invoking RebuildTheme here ensures icons are inverted correctly
|
||||
this.RebuildTheme();
|
||||
}
|
||||
|
||||
public Color RowBorder { get; set; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue