Skip to content

Commit c38c18c

Browse files
committed
Avoid using 1<<31 for ImGuiWindowFlags_NavFlattened as it seems to confuse some binding generators.
1 parent c5f6094 commit c38c18c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

imgui.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1099,8 +1099,8 @@ enum ImGuiWindowFlags_
10991099

11001100
// Obsolete names
11011101
#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
1102+
ImGuiWindowFlags_NavFlattened = 1 << 29, // Obsoleted in 1.90.9: Use ImGuiChildFlags_NavFlattened in BeginChild() call.
11021103
ImGuiWindowFlags_AlwaysUseWindowPadding = 1 << 30, // Obsoleted in 1.90.0: Use ImGuiChildFlags_AlwaysUseWindowPadding in BeginChild() call.
1103-
ImGuiWindowFlags_NavFlattened = 1 << 31, // Obsoleted in 1.90.9: Use ImGuiChildFlags_NavFlattened in BeginChild() call.
11041104
#endif
11051105
};
11061106

0 commit comments

Comments
 (0)