Made radio button render ascii when logged into tty/file/clipboard

This commit is contained in:
ocornut 2014-09-02 14:36:03 +01:00
parent 91059da1a5
commit ad42787543

View File

@ -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;