mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-20 01:34:20 +00:00
Selectable() variant: fixed missed return value
This commit is contained in:
parent
8532da3f52
commit
e5752f54b0
1 changed files with 1 additions and 0 deletions
|
|
@ -5784,6 +5784,7 @@ bool ImGui::Selectable(const char* label, bool* p_selected, const ImVec2& size_a
|
|||
*p_selected = !*p_selected;
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// A little colored square. Return true when clicked.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue