0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-14 16:51:18 -05:00

Merge pull request #5531 from penpot/marina/improve-zoom-to-frame

🐛 Avoid loading the overview before zoom to frame
This commit is contained in:
Andrey Antukh 2025-01-10 11:00:21 +01:00 committed by GitHub
commit fb84e6d00d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -351,8 +351,7 @@
(when (:board-id rparams)
(->> stream
(rx/filter (ptk/type? ::workspace-initialized))
(rx/observe-on :async)
(rx/filter (ptk/type? ::dwv/initialize-viewport))
(rx/take 1)
(rx/map zoom-to-frame)))