mirror of
https://github.com/penpot/penpot.git
synced 2026-05-11 11:03:52 +00:00
🐛 Fix ignore booleans on ctrl + click selection
This commit is contained in:
parent
0144939f34
commit
ed4a5f6c60
@ -126,7 +126,6 @@
|
||||
(mf/deps page-id)
|
||||
(fn [point]
|
||||
(let [zoom (mf/ref-val zoom-ref)
|
||||
mod? (mf/ref-val mod-ref)
|
||||
rect (gsh/center->rect point (/ 5 zoom) (/ 5 zoom))]
|
||||
(if (mf/ref-val hover-disabled-ref)
|
||||
(rx/of nil)
|
||||
@ -135,7 +134,7 @@
|
||||
:page-id page-id
|
||||
:rect rect
|
||||
:include-frames? true
|
||||
:clip-children? (not mod?)})
|
||||
:clip-children? true})
|
||||
;; When the ask-buffered is canceled returns null. We filter them
|
||||
;; to improve the behavior
|
||||
(rx/filter some?))))))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user