mirror of https://github.com/penpot/penpot.git
🐛 Fix check thumbnails size
This commit is contained in:
parent
87146bea85
commit
3d6eb9d4bb
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue