mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-12 02:40:00 +01:00
Cleanup and fixed implementation of clone and render sources.
This commit is contained in:
@@ -295,6 +295,11 @@ void ImGuiVisitor::visit (RenderSource& s)
|
||||
{
|
||||
// ImGui::Button("Expand", ImVec2(IMGUI_RIGHT_ALIGN, 0));
|
||||
ImGui::Text("Render");
|
||||
if (ImGui::Button("Reconnect", ImVec2(IMGUI_RIGHT_ALIGN, 0)) )
|
||||
s.reconnect();
|
||||
}
|
||||
|
||||
void ImGuiVisitor::visit (CloneSource& s)
|
||||
{
|
||||
// ImGui::Button("Expand", ImVec2(IMGUI_RIGHT_ALIGN, 0));
|
||||
ImGui::Text("Clone of %s", s.origin()->name());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user