Fixed ordering issue with cache draw, also sharing draw cache space with all open tabs
This commit is contained in:
parent
415921d881
commit
7fa82d3fa4
5 changed files with 59 additions and 69 deletions
|
|
@ -163,12 +163,13 @@ template <typename T, typename IDType> class CollabList {
|
|||
newObj->syncIgnore = false;
|
||||
newObj->id = id;
|
||||
newObj->obj = item;
|
||||
newObj->pos = clientSideList.size() - 1;
|
||||
item->collabListInfo = newObj;
|
||||
|
||||
serverSideList.emplace_back(newObj);
|
||||
clientSideList.emplace_back(newObj);
|
||||
|
||||
newObj->pos = clientSideList.size() - 1;
|
||||
|
||||
if(clientInsertCallback)
|
||||
clientInsertCallback(newObj);
|
||||
if(updateCallback)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue