mirror of
https://github.com/penpot/penpot.git
synced 2026-03-01 15:53:53 +00:00
🐛 Fix check thumbnails size
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user