mirror of
https://github.com/Drezil/imgui.git
synced 2025-04-16 08:04:00 +00:00
Demo: Fixed variable shadowing warning.
This commit is contained in:
parent
79b09e7d10
commit
b2b4bbe5ea
@ -1328,9 +1328,9 @@ void ImGui::ShowTestWindow(bool* opened)
|
|||||||
ImGui::TreePop();
|
ImGui::TreePop();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool opened = ImGui::TreeNode("Tree within single cell");
|
bool node_opened = ImGui::TreeNode("Tree within single cell");
|
||||||
ImGui::SameLine(); ShowHelpMarker("NB: Tree node must be poped before ending the cell.\nThere's no storage of state per-cell.");
|
ImGui::SameLine(); ShowHelpMarker("NB: Tree node must be poped before ending the cell.\nThere's no storage of state per-cell.");
|
||||||
if (opened)
|
if (node_opened)
|
||||||
{
|
{
|
||||||
ImGui::Columns(2, "tree items");
|
ImGui::Columns(2, "tree items");
|
||||||
ImGui::Separator();
|
ImGui::Separator();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user