Adjust temp widget icons for light theme
This commit is contained in:
parent
d767e8f05a
commit
77a4725af5
2 changed files with 16 additions and 1 deletions
|
|
@ -29,6 +29,7 @@ either expressed or implied, of the FreeBSD Project.
|
|||
|
||||
using System;
|
||||
using MatterHackers.Agg;
|
||||
using MatterHackers.Agg.ImageProcessing;
|
||||
using MatterHackers.Agg.PlatformAbstract;
|
||||
using MatterHackers.Agg.UI;
|
||||
using MatterHackers.MatterControl.PartPreviewWindow;
|
||||
|
|
@ -68,6 +69,11 @@ namespace MatterHackers.MatterControl.ActionBar
|
|||
};
|
||||
this.AddChild(container);
|
||||
|
||||
if (!ActiveTheme.Instance.IsDarkTheme)
|
||||
{
|
||||
this.ImageWidget.Image = this.ImageWidget.Image.InvertLightness();
|
||||
}
|
||||
|
||||
container.AddChild(this.ImageWidget);
|
||||
|
||||
CurrentTempIndicator = new TextWidget(textValue, pointSize: 11)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue