0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-23 06:58:58 -05:00

🐛 Fix check thumbnails size

This commit is contained in:
AzazelN28 2024-03-22 09:23:30 +01:00 committed by Andrey Antukh
parent 87146bea85
commit 3d6eb9d4bb

View file

@ -155,7 +155,8 @@
task-ref (mf/use-ref nil)
on-load (mf/use-fn (fn []
(check-thumbnail-size (mf/ref-val imposter-ref) bounds file-id page-id frame-id)
;; We need to check if this is the culprit of the thumbnail regeneration.
;; (check-thumbnail-size (mf/ref-val imposter-ref) bounds file-id page-id frame-id)
(mf/set-ref-val! tries-ref 0)
(reset! imposter-loaded true)))
on-error (mf/use-fn