1
0
mirror of https://github.com/ocornut/imgui.git synced 2025-01-30 19:43:51 +01:00

Selectable() variant: fixed missed return value

This commit is contained in:
ocornut 2015-02-10 19:47:35 +00:00
parent 8532da3f52
commit e5752f54b0

View File

@ -5784,6 +5784,7 @@ bool ImGui::Selectable(const char* label, bool* p_selected, const ImVec2& size_a
*p_selected = !*p_selected; *p_selected = !*p_selected;
return true; return true;
} }
return false;
} }
// A little colored square. Return true when clicked. // A little colored square. Return true when clicked.