fix move to the end
This commit is contained in:
2
src/rrr/layers/gui/browser/history/history.cpp
Normal file → Executable file
2
src/rrr/layers/gui/browser/history/history.cpp
Normal file → Executable 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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user