mirror of
https://github.com/penpot/penpot.git
synced 2025-05-19 18:06:12 +02:00
🐛 Fix problem with thumbnail updating
This commit is contained in:
parent
3e52bef6d4
commit
e8972dd802
1 changed files with 4 additions and 4 deletions
|
@ -273,8 +273,8 @@
|
||||||
{:key (dm/str "thumbnail-canvas-" (:id shape))
|
{:key (dm/str "thumbnail-canvas-" (:id shape))
|
||||||
:ref frame-canvas-ref
|
:ref frame-canvas-ref
|
||||||
:data-object-id (dm/str page-id (:id shape))
|
:data-object-id (dm/str page-id (:id shape))
|
||||||
:width fixed-width
|
:width width
|
||||||
:height fixed-height
|
:height height
|
||||||
:style {;; Safari has a problem with the positioning of the canvas. All this is to fix Safari behavior
|
:style {;; Safari has a problem with the positioning of the canvas. All this is to fix Safari behavior
|
||||||
;; https://bugs.webkit.org/show_bug.cgi?id=23113
|
;; https://bugs.webkit.org/show_bug.cgi?id=23113
|
||||||
:position "fixed"
|
:position "fixed"
|
||||||
|
@ -295,8 +295,8 @@
|
||||||
(when (some? @image-url)
|
(when (some? @image-url)
|
||||||
[:foreignObject {:x x
|
[:foreignObject {:x x
|
||||||
:y y
|
:y y
|
||||||
:width width
|
:width fixed-width
|
||||||
:height height}
|
:height fixed-height}
|
||||||
[:img {:ref frame-image-ref
|
[:img {:ref frame-image-ref
|
||||||
:src @image-url
|
:src @image-url
|
||||||
:width fixed-width
|
:width fixed-width
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue