Adjust temp widget icons for light theme

This commit is contained in:
John Lewin 2017-07-11 16:12:08 -07:00
parent d767e8f05a
commit 77a4725af5
2 changed files with 16 additions and 1 deletions

View file

@ -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)