mirror of
https://github.com/penpot/penpot.git
synced 2025-07-31 23:48:33 +02:00
🐛 Fix pointermap issue on file export
This commit is contained in:
parent
8e0abec876
commit
63f4ef97fb
2 changed files with 4 additions and 2 deletions
|
@ -74,13 +74,15 @@
|
|||
IPointerMap
|
||||
(load! [_]
|
||||
(l/trace :hint "pointer-map:load" :id id)
|
||||
(set! loaded? true)
|
||||
|
||||
(when-not *load-fn*
|
||||
(throw (UnsupportedOperationException. "load is not supported when *load-fn* is not bind")))
|
||||
|
||||
(when-let [data (*load-fn* id)]
|
||||
(set! odata data))
|
||||
|
||||
(set! loaded? true)
|
||||
|
||||
(or odata {}))
|
||||
|
||||
(modified? [_] modified?)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue