Fixed inline image sizing

Made link images work
Fixed a bug with clicking help before loaded
This commit is contained in:
LarsBrubaker 2020-05-27 22:42:56 -07:00
parent a3ce2f8f9f
commit db86ef5450
4 changed files with 76 additions and 16 deletions

View file

@ -30,6 +30,7 @@ either expressed or implied, of the FreeBSD Project.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using Markdig.Agg;
using MatterControlLib;
using MatterHackers.Agg;
@ -338,6 +339,11 @@ namespace MatterHackers.MatterControl
double maxMenuItemWidth = 0;
while (ApplicationController.Instance.HelpArticles.Path == null)
{
Thread.Sleep(10);
}
rootNode = ProcessTree(ApplicationController.Instance.HelpArticles);
rootNode.Text = "Help";
rootNode.TreeView = treeView;