Skip to content

Commit

Permalink
Fix comment typo
Browse files Browse the repository at this point in the history
  • Loading branch information
xpenatan committed Sep 24, 2024
1 parent 6998f2e commit 1f87099
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1166,10 +1166,10 @@ bool ImLayout::EndTreeLayout() {

{
// Selected and hover logic
//ImGui::ItemAdd(fullLayout, layoutId);
//if (ImGui::ButtonBehavior(fullLayout, layoutId, NULL, NULL)) {
// selected = true;
//}
ImGui::ItemAdd(fullLayout, layoutId);
if (ImGui::ButtonBehavior(fullLayout, layoutId, NULL, NULL)) {
selected = true;
}
}

ImGui::PopStyleVar();
Expand Down

0 comments on commit 1f87099

Please sign in to comment.