Fix ImGui::End() placement in EditorManager and ZEML rendering functions

This commit is contained in:
scawful
2025-03-13 09:27:55 -04:00
parent 1a674e731a
commit 2db9561a44
2 changed files with 2 additions and 2 deletions

View File

@@ -263,8 +263,8 @@ absl::Status EditorManager::Update() {
editor->active())) { editor->active())) {
current_editor_ = editor; current_editor_ = editor;
status_ = editor->Update(); status_ = editor->Update();
ImGui::End();
} }
ImGui::End();
} }
} }

View File

@@ -388,8 +388,8 @@ void Render(Node& node) {
for (auto& child : node.children) { for (auto& child : node.children) {
Render(child); Render(child);
} }
ImGui::End();
} }
ImGui::End();
} break; } break;
case WidgetType::Button: case WidgetType::Button:
if (node.attributes.data) { if (node.attributes.data) {