UI Tweaks, ChildEnumerator, ComponentAdded-Handlers

This commit is contained in:
Simon Lübeß
2022-04-12 00:48:20 +02:00
parent bec202e23a
commit 863c264001
7 changed files with 278 additions and 83 deletions
+5
View File
@@ -51,6 +51,8 @@ namespace GlitchyEditor
public this()
{
_open = false;
_settings = Application.Get().Settings;
Create();
@@ -117,6 +119,9 @@ namespace GlitchyEditor
protected override void InternalShow()
{
ImGui.Begin("Settings", &_open, .NoDocking);
defer ImGui.End();
// Leave room for 1 line below us
ImGui.BeginChild("item view", ImGui.Vec2(0, -ImGui.GetFrameHeightWithSpacing()));