don't overwrite bookmark position if it changed before metadata arrives (#2215)
Fixes issue when creating new bookmark shape where the position would be reset if you moved it before the bookmark metadata was fetched ### Change Type - [x] `patch` — Bug fix ### Release Notes - Fixes issue when creating new bookmark shape where the position would be reset if you moved it before the bookmark metadata was fetched.
This commit is contained in:
parent
9d783f65cb
commit
898feb6650
1 changed files with 2 additions and 2 deletions
|
@ -381,9 +381,9 @@ export function registerDefaultExternalContentHandlers(
|
||||||
|
|
||||||
editor.updateShapes([
|
editor.updateShapes([
|
||||||
{
|
{
|
||||||
...shape,
|
id: shape.id,
|
||||||
|
type: shape.type,
|
||||||
props: {
|
props: {
|
||||||
...shape.props,
|
|
||||||
assetId: asset.id,
|
assetId: asset.id,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue