mirror of
https://github.com/ocornut/imgui.git
synced 2026-09-26 16:05:45 +03:00
InputText: using MixedValue automatically sets ImGuiInputTextFlags_AutoSelectAll. (#5518, #5677, #6865)
This commit is contained in:
parent
04b37d6d23
commit
dd32dace81
1 changed files with 1 additions and 1 deletions
|
|
@ -4951,7 +4951,7 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_
|
|||
|
||||
if (!is_multiline)
|
||||
{
|
||||
if (flags & ImGuiInputTextFlags_AutoSelectAll)
|
||||
if ((flags & ImGuiInputTextFlags_AutoSelectAll) || is_mixed)
|
||||
select_all = true;
|
||||
if (input_requested_by_nav && (!recycle_state || !(g.NavActivateFlags & ImGuiActivateFlags_TryToPreserveState)))
|
||||
select_all = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue