fix path error

This commit is contained in:
chatlanin
2023-05-10 22:01:52 +03:00
parent ea80038121
commit e5dca6cf34
9 changed files with 44 additions and 16 deletions

View File

@@ -52,7 +52,7 @@ namespace rrr::layers::gui
TR_PUSH_FONT(SEMI_BOLD, 18);
ImGui::TextUnformatted(">");
ImGui::SameLine(22.f);
current_position = it - data->begin();
current_position = std::distance(it, data->begin());
}
else
{