mirror of
https://github.com/penpot/penpot.git
synced 2025-02-27 09:16:17 -05:00
Merge pull request #2714 from penpot/superalex-fix-ignoring-boolean-operations-on-ctrl-click-actions
🐛 Fix ignore booleans on ctrl + click selection
This commit is contained in:
commit
4442246e08
1 changed files with 1 additions and 2 deletions
|
@ -126,7 +126,6 @@
|
||||||
(mf/deps page-id)
|
(mf/deps page-id)
|
||||||
(fn [point]
|
(fn [point]
|
||||||
(let [zoom (mf/ref-val zoom-ref)
|
(let [zoom (mf/ref-val zoom-ref)
|
||||||
mod? (mf/ref-val mod-ref)
|
|
||||||
rect (gsh/center->rect point (/ 5 zoom) (/ 5 zoom))]
|
rect (gsh/center->rect point (/ 5 zoom) (/ 5 zoom))]
|
||||||
(if (mf/ref-val hover-disabled-ref)
|
(if (mf/ref-val hover-disabled-ref)
|
||||||
(rx/of nil)
|
(rx/of nil)
|
||||||
|
@ -135,7 +134,7 @@
|
||||||
:page-id page-id
|
:page-id page-id
|
||||||
:rect rect
|
:rect rect
|
||||||
:include-frames? true
|
:include-frames? true
|
||||||
:clip-children? (not mod?)})
|
:clip-children? true})
|
||||||
;; When the ask-buffered is canceled returns null. We filter them
|
;; When the ask-buffered is canceled returns null. We filter them
|
||||||
;; to improve the behavior
|
;; to improve the behavior
|
||||||
(rx/filter some?))))))
|
(rx/filter some?))))))
|
||||||
|
|
Loading…
Add table
Reference in a new issue