0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-25 16:25:56 -05:00

Merge pull request #3453 from penpot/azazeln28-fix-thumbnail-rendering-flashing

🐛 Fix thumbnail rendering flashing
This commit is contained in:
Alejandro 2023-07-31 09:21:55 +02:00 committed by GitHub
commit 4e1dfcce32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -98,6 +98,7 @@
- Fix cannot undo layer styles [Taiga #5676](https://tree.taiga.io/project/penpot/issue/5676)
- Fix unexpected exception on boolean shapes [Taiga #5685](https://tree.taiga.io/project/penpot/issue/5685)
- Fix ctrl+z on select not working [Taiga #5677](https://tree.taiga.io/project/penpot/issue/5677)
- Fix thubmnail rendering flashing [Taiga #5675](https://tree.taiga.io/project/penpot/issue/5675)
### :arrow_up: Deps updates

View file

@ -96,7 +96,6 @@
render-frame* (mf/use-state (not thumbnail-uri))
debug? (debug? :thumbnails)
on-bitmap-load
(mf/use-fn
(fn []
@ -164,6 +163,8 @@
(when (not= "false" (dom/get-data image-node "ready"))
(dom/set-data! image-node "ready" "false")))
(when-not ^boolean @disable*
(reset! svg-uri* nil)
(reset! bitmap-uri* nil)
(reset! render-frame* true)
(reset! regenerate* true))))