You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
clipper.Begin(items_count, ImGui::GetTextLineHeightWithSpacing()); // We know exactly our line height here so we pass it as a minor optimization, but generally you don't need to.
4004
+
clipper.IncludeItemByIndex(*current_item);
4005
+
while (clipper.Step())
4006
+
{
4007
+
for (int i = clipper.DisplayStart; i < clipper.DisplayEnd; i++)
4008
+
{
4009
+
ImGui::PushID(i);
4010
+
constbool item_selected = (i == *current_item);
4011
+
if (ImGui::Selectable(config.charNames[i], item_selected))
0 commit comments