mirror of
https://github.com/penpot/penpot.git
synced 2025-02-26 16:56:11 -05:00
Fix blocked groups selection
This commit is contained in:
parent
39df77e6ed
commit
70282daaf7
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,6 @@
|
|||
[uxbox.state.shapes :as stsh]
|
||||
[uxbox.schema :as sc]
|
||||
[uxbox.xforms :as xf]
|
||||
[uxbox.shapes :as sh]
|
||||
[uxbox.data.pages :as udp]
|
||||
[uxbox.util.geom.point :as gpt]
|
||||
[uxbox.util.data :refer (index-of)]))
|
||||
|
@ -305,7 +304,8 @@
|
|||
xf (comp
|
||||
(filter #(= (:page %) pageid))
|
||||
(remove :hidden)
|
||||
(remove :blocked)
|
||||
(remove #(and (not (:blocked %)) (= (:type %) :builtin/group)))
|
||||
(remove #(and (not= % (sh/resolve-parent %)) (:blocked (sh/resolve-parent %))))
|
||||
(map sh/outer-rect')
|
||||
(filter #(sh/contained-in? % selrect))
|
||||
(map :id))]
|
||||
|
|
Loading…
Add table
Reference in a new issue