mirror of
https://github.com/ocornut/imgui.git
synced 2025-04-07 14:29:40 +00:00
Made radio button render ascii when logged into tty/file/clipboard
This commit is contained in:
parent
91059da1a5
commit
ad42787543
1 changed files with 2 additions and 0 deletions
|
@ -3687,6 +3687,8 @@ bool RadioButton(const char* label, bool active)
|
|||
window->DrawList->AddCircle(center, radius, window->Color(ImGuiCol_Border), 16);
|
||||
}
|
||||
|
||||
if (g.LogEnabled)
|
||||
LogText(text_bb.GetTL(), active ? "(x)" : "( )");
|
||||
RenderText(text_bb.GetTL(), label);
|
||||
|
||||
return pressed;
|
||||
|
|
Loading…
Add table
Reference in a new issue