0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-04-03 18:41:22 -05:00

Merge pull request #3457 from penpot/niwinz-develop-bugfixes-2

🐛 Fix unexpected exception on viewer when page has no frame
This commit is contained in:
Alejandro 2023-08-09 08:19:53 +02:00 committed by GitHub
commit 091d1ff5cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -295,7 +295,8 @@
size
(mf/with-memo [frame zoom]
(calculate-size (:objects page) frame zoom))
(when frame
(calculate-size (:objects page) frame zoom)))
orig-size
(mf/with-memo [orig-frame zoom]