Do the blending at the right time

This commit is contained in:
LarsBrubaker 2021-04-12 08:52:17 -07:00
parent 67eb85ffe0
commit b662f34b8e

View file

@ -192,7 +192,7 @@ namespace MatterHackers.Plugins.EditorTools
}
else
{
GLHelper.Render(minXminYMesh, theme.TextColor.Blend(theme.BackgroundColor.WithAlpha(e.Alpha0to255), .35), TotalTransform, RenderTypes.Shaded);
GLHelper.Render(minXminYMesh, theme.TextColor.Blend(theme.BackgroundColor, .35).WithAlpha(e.Alpha0to255), TotalTransform, RenderTypes.Shaded);
}
}
}