Moving PopupMenu to Agg

This commit is contained in:
Lars Brubaker 2022-07-15 19:13:44 -07:00
parent 6f3fe2fddc
commit 2bd1cd1e13
20 changed files with 350 additions and 1186 deletions

View file

@ -125,7 +125,7 @@ namespace MatterHackers.MatterControl.ConfigurationPage
overlay.Click += (s, e) =>
{
// Activate the theme
themeColorPanel.SetThemeColor(this.ThemeSet, primaryAccentColor, this.Mode);
themeColorPanel.SetThemeColor(this.ThemeSet, primaryAccentColor);
// Disable further theme clicks until reload completes
themeColorPanel.Enabled = false;
@ -136,8 +136,6 @@ namespace MatterHackers.MatterControl.ConfigurationPage
public ThemeSet ThemeSet { get; }
public string Mode { get; internal set; }
public void PreviewThemeColor(Color sourceColor)
{
var adjustedAccentColor = sourceColor;