Move theme.Colors.PrimaryTextColor into theme, remove unneeded types

- Issue MatterHackers/MCCentral#4490
This commit is contained in:
John Lewin 2018-11-03 09:13:07 -07:00
parent c279f8a511
commit 8d4974dc32
103 changed files with 245 additions and 426 deletions

View file

@ -48,7 +48,7 @@ public class LicenseAgreementPage : DialogPage
ContentRow.AddChild(scrollable);
scrollable.ScrollArea.Margin = new BorderDouble(0, 0, 15, 0);
scrollable.AddChild(new WrappedTextWidget(eulaText, textColor: ActiveTheme.Instance.PrimaryTextColor, doubleBufferText: false)
scrollable.AddChild(new WrappedTextWidget(eulaText, textColor: theme.TextColor, doubleBufferText: false)
{
DrawFromHintedCache = true,
Name = "LicenseAgreementPage",