mirror of
https://github.com/penpot/penpot.git
synced 2025-07-29 14:07:14 +02:00
🐛 Fix unexpected exception on viewer when page has no frame
This commit is contained in:
parent
f76f4615cf
commit
51d0851846
1 changed files with 2 additions and 1 deletions
|
@ -295,7 +295,8 @@
|
||||||
|
|
||||||
size
|
size
|
||||||
(mf/with-memo [frame zoom]
|
(mf/with-memo [frame zoom]
|
||||||
(calculate-size (:objects page) frame zoom))
|
(when frame
|
||||||
|
(calculate-size (:objects page) frame zoom)))
|
||||||
|
|
||||||
orig-size
|
orig-size
|
||||||
(mf/with-memo [orig-frame zoom]
|
(mf/with-memo [orig-frame zoom]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue