fix structured clone reference in drawing (#2945)
This PR fixes a rogue structuredClone reference in the drawing state. ### Change Type - [x] `patch` — Bug fix ### Release Notes - Fixes a reference to structuredClone that caused a crash on older browsers.
This commit is contained in:
parent
0f1599d5b3
commit
b2cb0d27b0
5 changed files with 9 additions and 3 deletions
|
@ -3237,7 +3237,7 @@
|
|||
{
|
||||
"kind": "Variable",
|
||||
"canonicalReference": "@tldraw/utils!structuredClone_2:var",
|
||||
"docComment": "/**\n * @public\n */\n",
|
||||
"docComment": "/**\n * Create a deep copy of a value. Uses the structuredClone API if available, otherwise uses JSON.parse(JSON.stringify()).\n *\n * @param i - The value to clone.\n *\n * @public\n */\n",
|
||||
"excerptTokens": [
|
||||
{
|
||||
"kind": "Content",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue