Fix ImGui::End() placement in EditorManager and ZEML rendering functions
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user