mirror of
https://github.com/penpot/penpot.git
synced 2026-03-01 07:43:45 +00: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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user