Fix history - the 2nd installment (#1014)
* don't regenerate versionNonce on pushEntry * fix history handling around multi-point arrows * remove filtering from getElementMap helper
This commit is contained in:
@ -53,8 +53,8 @@ export function newElementWith<TElement extends ExcalidrawElement>(
|
||||
): TElement {
|
||||
return {
|
||||
...element,
|
||||
...updates,
|
||||
version: element.version + 1,
|
||||
versionNonce: randomSeed(),
|
||||
...updates,
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user