Skip to content

Commit

Permalink
app: adds scrolling/clipping in specific area of component-ed
Browse files Browse the repository at this point in the history
  • Loading branch information
quesnel committed Jul 11, 2024
1 parent 1f60b70 commit 2d2c1af
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/gui/component-editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,15 @@ static void show_data(application& app,
}

if (ImGui::BeginTabItem("Specific", nullptr, flags)) {
if (not ImGui::BeginChild(
"##zone", ImGui::GetContentRegionAvail())) {
ImGui::EndChild();
return;
}

element.show_selected_nodes(ed);
ImGui::EndChild();

ImGui::EndTabItem();
}

Expand Down

0 comments on commit 2d2c1af

Please sign in to comment.