Some minor code changes, as well as properly using marker index

This commit is contained in:
AdenKoperczak 2024-11-25 11:18:03 -05:00
parent 7a070b3e7f
commit 35f2c85a19
2 changed files with 9 additions and 4 deletions

View file

@ -315,7 +315,7 @@ void MarkerManager::remove_marker(types::MarkerId id)
{
if (pair.second > index)
{
p->idToIndex_[pair.first] = pair.second - 1;
pair.second -= 1;
}
}
}