mirror of
https://github.com/penpot/penpot.git
synced 2025-06-14 00:11:40 +02:00
✨ Improve handling of shape transform modifiers
This commit is contained in:
parent
384b464f0f
commit
ae1e9a861b
6 changed files with 38 additions and 24 deletions
|
@ -235,7 +235,7 @@
|
|||
[{:keys [bounds frame selected-shapes hover-shape zoom]}]
|
||||
(let [selected-ids (into #{} (map :id) selected-shapes)
|
||||
selected-selrect (gsh/selection-rect selected-shapes)
|
||||
hover-selrect (:selrect hover-shape)
|
||||
hover-selrect (-> hover-shape :points gsh/points->selrect)
|
||||
bounds-selrect (bound->selrect bounds)
|
||||
hover-selected-shape? (not (contains? selected-ids (:id hover-shape)))]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue