diff --git a/example/color_node_editor.cpp b/example/color_node_editor.cpp index af17151..82e6670 100644 --- a/example/color_node_editor.cpp +++ b/example/color_node_editor.cpp @@ -513,7 +513,7 @@ class ColorNodeEditor const float label_width = ImGui::CalcTextSize("output").x; ImGui::Indent(node_width - label_width); ImGui::TextUnformatted("output"); - ImNodes::EndInputAttribute(); + ImNodes::EndOutputAttribute(); } ImNodes::EndNode();