Demo Finish
This commit is contained in:
@@ -57,12 +57,14 @@ public partial class MainControlPanel : HBoxContainer
|
||||
{
|
||||
Compounds.Clear();
|
||||
TreeItem root = Compounds.CreateItem();
|
||||
root.SetText(0, "Mixtures: ");
|
||||
root.SetText(0, $"Mixtures({GlobalScene.Flask.Content.Layers.Count}): ");
|
||||
root.SetMeta("isoExp", GlobalScene.Flask.Content.Dump());
|
||||
int i = 1;
|
||||
foreach (HomogeneousMixture h in GlobalScene.Flask.Content.LayerOrder)
|
||||
{
|
||||
TreeItem sRoot = Compounds.CreateItem(root);
|
||||
sRoot.SetText(0,$"Mixture{i} Amt{h.Amount}");
|
||||
sRoot.SetMeta("isoExp", h.Dump());
|
||||
foreach (var group in h.Compounds.GroupBy(x => x.Expression))
|
||||
{
|
||||
TreeItem t = Compounds.CreateItem(root);
|
||||
|
||||
Reference in New Issue
Block a user