This commit is contained in:
Filip Sykala 2021-09-22 12:11:05 +02:00
parent a812f74ca3
commit 7a3b220f0a
3 changed files with 15 additions and 348 deletions
src/slic3r/GUI/Gizmos

View file

@ -414,7 +414,7 @@ void GLGizmoEmboss::draw_font_list()
ImGui::SameLine();
if (ImGui::BeginCombo("##font_collection_selector",
std::to_string(m_font->index).c_str())) {
for (size_t i = 0; i < m_font->count; ++i) {
for (unsigned int i = 0; i < m_font->count; ++i) {
ImGui::PushID(1 << 10 + i);
if (ImGui::Selectable(std::to_string(i).c_str(),
i == m_font->index)) {