mirror of
https://github.com/penpot/penpot.git
synced 2026-03-09 19:56:05 +00:00
Merge pull request #7003 from penpot/alotor-fix-transform
🐛 Fix wasm transform issues
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
[app.common.types.container :as ctn]
|
||||
[app.common.types.modifiers :as ctm]
|
||||
[app.common.types.path :as path]
|
||||
[app.common.types.shape :as shape]
|
||||
[app.common.types.shape-tree :as ctst]
|
||||
[app.common.types.shape.attrs :refer [editable-attrs]]
|
||||
[app.common.types.shape.layout :as ctl]
|
||||
@@ -637,7 +638,8 @@
|
||||
(let [objects (dsh/lookup-page-objects state)
|
||||
|
||||
ignore-tree
|
||||
(calculate-ignore-tree modif-tree objects)
|
||||
(binding [shape/*wasm-sync* false]
|
||||
(calculate-ignore-tree modif-tree objects))
|
||||
|
||||
options
|
||||
(-> params
|
||||
|
||||
@@ -395,7 +395,7 @@
|
||||
(gm/set-objects-modifiers objects))]
|
||||
|
||||
(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))))))))
|
||||
|
||||
(defn change-orientation
|
||||
|
||||
Reference in New Issue
Block a user