fix move to the end

This commit is contained in:
chatlanin
2023-06-06 20:08:55 +03:00
parent 73649a48e6
commit 57d96cab71
42 changed files with 9 additions and 4 deletions

2
src/rrr/layers/gui/browser/history/history.cpp Normal file → Executable file
View File

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