Undo now takes into account list position, and started work on bookmark undo
This commit is contained in:
parent
92115957b2
commit
0e22c8ac3e
7 changed files with 64 additions and 16 deletions
|
|
@ -123,8 +123,8 @@ std::optional<NetworkingObjects::NetObjID> WorldUndoManager::get_netid_from_undo
|
|||
return it->second;
|
||||
}
|
||||
|
||||
std::vector<const char*> WorldUndoManager::get_front_undo_queue_names(unsigned count) {
|
||||
std::vector<const char*> toRet;
|
||||
std::vector<std::string> WorldUndoManager::get_front_undo_queue_names(unsigned count) {
|
||||
std::vector<std::string> toRet;
|
||||
for(auto& u : undoQueue | std::views::reverse) {
|
||||
toRet.emplace_back(u->get_name());
|
||||
if(toRet.size() == count)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue