mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
🐛 Fix Uuid crash
This commit is contained in:
@@ -94,7 +94,7 @@
|
||||
[this]
|
||||
(let [buffer (unchecked-get this "__u32_buffer")]
|
||||
(if (nil? buffer)
|
||||
(let [buffer (get-unsigned-parts (.-uuid ^UUID this))]
|
||||
(let [buffer (get-unsigned-parts this)]
|
||||
(unchecked-set this "__u32_buffer" buffer)
|
||||
buffer)
|
||||
buffer))))
|
||||
|
||||
@@ -153,8 +153,6 @@
|
||||
(ShapeProxy. (.-id ^ShapeProxy self)
|
||||
nil
|
||||
(.-delegate ^ShapeProxy self))
|
||||
|
||||
:else
|
||||
(let [delegate (.-delegate ^ShapeProxy self)
|
||||
delegate' (dissoc delegate k)]
|
||||
(if (identical? delegate delegate')
|
||||
|
||||
Reference in New Issue
Block a user