Refacotring

Adding GitHub personal access token option
This commit is contained in:
Lars Brubaker 2021-04-23 18:07:32 -07:00
parent 23313cdd41
commit a23857c6eb
8 changed files with 58 additions and 6 deletions

View file

@ -59,7 +59,7 @@ namespace MatterHackers.MatterControl.Plugins.Lithophane
if (scene != null)
{
var topParent = wrapper.Ancestors().LastOrDefault(i => i.Parent != null);
var topParent = wrapper.Parents().LastOrDefault(i => i.Parent != null);
UiThread.RunOnIdle(() =>
{
scene.SelectedItem = topParent ?? wrapper;