mirror of
https://github.com/penpot/penpot.git
synced 2026-09-08 13:09:22 +00:00
Merge pull request #7003 from penpot/alotor-fix-transform
🐛 Fix wasm transform issues
This commit is contained in:
commit
a3e24785d3
@ -20,6 +20,7 @@
|
|||||||
[app.common.types.container :as ctn]
|
[app.common.types.container :as ctn]
|
||||||
[app.common.types.modifiers :as ctm]
|
[app.common.types.modifiers :as ctm]
|
||||||
[app.common.types.path :as path]
|
[app.common.types.path :as path]
|
||||||
|
[app.common.types.shape :as shape]
|
||||||
[app.common.types.shape-tree :as ctst]
|
[app.common.types.shape-tree :as ctst]
|
||||||
[app.common.types.shape.attrs :refer [editable-attrs]]
|
[app.common.types.shape.attrs :refer [editable-attrs]]
|
||||||
[app.common.types.shape.layout :as ctl]
|
[app.common.types.shape.layout :as ctl]
|
||||||
@ -637,7 +638,8 @@
|
|||||||
(let [objects (dsh/lookup-page-objects state)
|
(let [objects (dsh/lookup-page-objects state)
|
||||||
|
|
||||||
ignore-tree
|
ignore-tree
|
||||||
(calculate-ignore-tree modif-tree objects)
|
(binding [shape/*wasm-sync* false]
|
||||||
|
(calculate-ignore-tree modif-tree objects))
|
||||||
|
|
||||||
options
|
options
|
||||||
(-> params
|
(-> params
|
||||||
|
|||||||
@ -395,7 +395,7 @@
|
|||||||
(gm/set-objects-modifiers objects))]
|
(gm/set-objects-modifiers objects))]
|
||||||
|
|
||||||
(if (features/active-feature? state "render-wasm/v1")
|
(if (features/active-feature? state "render-wasm/v1")
|
||||||
(rx/of (dwm/apply-wasm-modifiers modif-tree))
|
(rx/of (dwm/apply-wasm-modifiers modif-tree {:ignore-snap-pixel true}))
|
||||||
(rx/of (dwm/apply-modifiers* objects modif-tree nil options))))))))
|
(rx/of (dwm/apply-modifiers* objects modif-tree nil options))))))))
|
||||||
|
|
||||||
(defn change-orientation
|
(defn change-orientation
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user