mirror of
https://github.com/ocornut/imgui.git
synced 2025-04-06 22:15:07 +00:00
Warning fix.
This commit is contained in:
parent
9d02ed51e3
commit
656c515bad
1 changed files with 1 additions and 1 deletions
|
@ -625,7 +625,7 @@ static void ShowDemoWindowWidgets()
|
|||
{
|
||||
// Disable the default open on single-click behavior and pass in Selected flag according to our selection state.
|
||||
ImGuiTreeNodeFlags node_flags = base_flags;
|
||||
const bool is_selected = (selection_mask & (1 << i));
|
||||
const bool is_selected = (selection_mask & (1 << i)) != 0;
|
||||
if (is_selected)
|
||||
node_flags |= ImGuiTreeNodeFlags_Selected;
|
||||
if (i < 3)
|
||||
|
|
Loading…
Add table
Reference in a new issue