mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Remove selected object when storing to backend (#506)
This commit is contained in:
parent
a436e70764
commit
48024c9116
2 changed files with 9 additions and 3 deletions
|
@ -552,7 +552,10 @@ export class App extends React.Component<any, AppState> {
|
|||
if (this.canvas)
|
||||
exportCanvas(
|
||||
"backend",
|
||||
exportedElements,
|
||||
exportedElements.map(element => ({
|
||||
...element,
|
||||
isSelected: false
|
||||
})),
|
||||
this.canvas,
|
||||
this.state
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue