Selectable() should have an ID even though they are disabled, to be consistent with other widgets. Not sure of the reasoning ~1.41 which made this turn to 0.

This commit is contained in:
omar
2019-01-07 23:45:07 +01:00
parent 3997e8b555
commit c2db7f63bd
2 changed files with 8 additions and 6 deletions

View File

@ -331,8 +331,8 @@ enum ImGuiItemStatusFlags_
// FIXME: this is in development, not exposed/functional as a generic feature yet.
enum ImGuiLayoutType_
{
ImGuiLayoutType_Vertical,
ImGuiLayoutType_Horizontal
ImGuiLayoutType_Vertical = 0,
ImGuiLayoutType_Horizontal = 1,
};
enum ImGuiAxis