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:
parent
8532da3f52
commit
e5752f54b0
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user