mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 21:01:52 +00:00
Add up button und split scrolling in content browser
- Add Parent to TreeNode - Start of Rename handling
This commit is contained in:
@@ -11,6 +11,7 @@ namespace GlitchyEngine.Collections
|
||||
{
|
||||
public T Value;
|
||||
|
||||
public Self Parent;
|
||||
public List<Self> Children = new .() ~ DeleteContainerAndItems!(_);
|
||||
|
||||
public this() {}
|
||||
@@ -29,6 +30,7 @@ namespace GlitchyEngine.Collections
|
||||
}
|
||||
|
||||
Self newChild = new .(value);
|
||||
newChild.Parent = this;
|
||||
|
||||
Children.Add(newChild);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user