mirror of
https://github.com/Drezil/imgui.git
synced 2024-11-22 11:57:00 +00:00
Made radio button render ascii when logged into tty/file/clipboard
This commit is contained in:
parent
91059da1a5
commit
ad42787543
@ -3687,6 +3687,8 @@ bool RadioButton(const char* label, bool active)
|
|||||||
window->DrawList->AddCircle(center, radius, window->Color(ImGuiCol_Border), 16);
|
window->DrawList->AddCircle(center, radius, window->Color(ImGuiCol_Border), 16);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (g.LogEnabled)
|
||||||
|
LogText(text_bb.GetTL(), active ? "(x)" : "( )");
|
||||||
RenderText(text_bb.GetTL(), label);
|
RenderText(text_bb.GetTL(), label);
|
||||||
|
|
||||||
return pressed;
|
return pressed;
|
||||||
|
Loading…
Reference in New Issue
Block a user