mirror of
https://github.com/penpot/penpot.git
synced 2026-09-14 07:59:36 +00:00
🐛 Set objects modified instead of modif-tree
This commit is contained in:
parent
7c7e32d85f
commit
af5dbf2fbc
@ -618,9 +618,7 @@
|
|||||||
(extract-property-changes modif-tree)]
|
(extract-property-changes modif-tree)]
|
||||||
(-> state
|
(-> state
|
||||||
(assoc :prev-wasm-props (:wasm-props state))
|
(assoc :prev-wasm-props (:wasm-props state))
|
||||||
(assoc :wasm-props property-changes)
|
(assoc :wasm-props property-changes))))
|
||||||
;; Keep overlays in sync during WASM transforms.
|
|
||||||
(assoc :workspace-modifiers modif-tree))))
|
|
||||||
|
|
||||||
ptk/WatchEvent
|
ptk/WatchEvent
|
||||||
(watch [_ state _]
|
(watch [_ state _]
|
||||||
|
|||||||
@ -98,7 +98,6 @@
|
|||||||
drawing (mf/deref refs/workspace-drawing)
|
drawing (mf/deref refs/workspace-drawing)
|
||||||
focus (mf/deref refs/workspace-focus-selected)
|
focus (mf/deref refs/workspace-focus-selected)
|
||||||
wasm-modifiers (mf/deref refs/workspace-wasm-modifiers)
|
wasm-modifiers (mf/deref refs/workspace-wasm-modifiers)
|
||||||
modifiers (mf/deref refs/workspace-modifiers)
|
|
||||||
|
|
||||||
workspace-editor-state (mf/deref refs/workspace-editor-state)
|
workspace-editor-state (mf/deref refs/workspace-editor-state)
|
||||||
|
|
||||||
@ -705,10 +704,9 @@
|
|||||||
(when show-grid-editor?
|
(when show-grid-editor?
|
||||||
[:& grid-layout/editor
|
[:& grid-layout/editor
|
||||||
{:zoom zoom
|
{:zoom zoom
|
||||||
:objects base-objects
|
:objects objects-modified
|
||||||
:modifiers modifiers
|
:shape (or (get objects-modified edition)
|
||||||
:shape (or (get base-objects edition)
|
(get objects-modified @hover-top-frame-id))
|
||||||
(get base-objects @hover-top-frame-id))
|
|
||||||
:view-only (not show-grid-editor?)}])]
|
:view-only (not show-grid-editor?)}])]
|
||||||
|
|
||||||
[:g.scrollbar-wrapper {:clipPath "url(#clip-handlers)"}
|
[:g.scrollbar-wrapper {:clipPath "url(#clip-handlers)"}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user