mirror of
https://github.com/penpot/penpot.git
synced 2025-02-02 12:28:54 -05:00
🐛 Fix check thumbnails size
This commit is contained in:
parent
87146bea85
commit
3d6eb9d4bb
1 changed files with 2 additions and 1 deletions
|
@ -155,7 +155,8 @@
|
||||||
task-ref (mf/use-ref nil)
|
task-ref (mf/use-ref nil)
|
||||||
|
|
||||||
on-load (mf/use-fn (fn []
|
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)
|
(mf/set-ref-val! tries-ref 0)
|
||||||
(reset! imposter-loaded true)))
|
(reset! imposter-loaded true)))
|
||||||
on-error (mf/use-fn
|
on-error (mf/use-fn
|
||||||
|
|
Loading…
Add table
Reference in a new issue