Finished
This commit is contained in:
@@ -67,7 +67,7 @@ public partial class MainControlPanel : HBoxContainer
|
|||||||
sRoot.SetMeta("isoExp", h.Dump());
|
sRoot.SetMeta("isoExp", h.Dump());
|
||||||
foreach (var group in h.Compounds.GroupBy(x => x.Expression))
|
foreach (var group in h.Compounds.GroupBy(x => x.Expression))
|
||||||
{
|
{
|
||||||
TreeItem t = Compounds.CreateItem(root);
|
TreeItem t = Compounds.CreateItem(sRoot);
|
||||||
t.SetText(0, group.Key);
|
t.SetText(0, group.Key);
|
||||||
t.SetSelectable(0, false);
|
t.SetSelectable(0, false);
|
||||||
int j = 1;
|
int j = 1;
|
||||||
|
|||||||
@@ -7,10 +7,7 @@ public partial class VirtualChemistryDemo : Node2D
|
|||||||
public Bottle SelectedBottle { get; set; }
|
public Bottle SelectedBottle { get; set; }
|
||||||
private StringLoader ExpressionLoader { get; set; }
|
private StringLoader ExpressionLoader { get; set; }
|
||||||
|
|
||||||
public void PopupStringLoader()
|
public void PopupStringLoader() => ExpressionLoader.Visible = true;
|
||||||
{
|
|
||||||
ExpressionLoader.Visible = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Called when the node enters the scene tree for the first time.
|
// Called when the node enters the scene tree for the first time.
|
||||||
public override void _Ready()
|
public override void _Ready()
|
||||||
@@ -22,8 +19,4 @@ public partial class VirtualChemistryDemo : Node2D
|
|||||||
GlobalScene.Demo = this;
|
GlobalScene.Demo = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
||||||
public override void _Process(double delta)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user