Skip to content

Commit cb3f1b8

Browse files
committed
allow selecting svg elements on drag
1 parent 9003d20 commit cb3f1b8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/renderer/tool/transform/select.cljs

+1-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@
7070
[{:keys [active-document] :as db} el intersecting?]
7171
(let [hovered-keys (-> db :documents active-document :hovered-keys)]
7272
(and (empty? (set/intersection (element.h/ancestor-keys db el) hovered-keys))
73-
(not (utils.el/svg? el)) ; REVIEW
7473
(not (utils.el/root? el))
7574
((if intersecting? bounds/intersected? bounds/contained?)
7675
(:bounds el)
@@ -183,7 +182,7 @@
183182
"Converts the x/y pointer offset to a scale ratio and a pivot point,
184183
to decouple this from the scaling method of the elements.
185184
186-
:pivot-point
185+
:pivot-point
187186
+ ─────────□──┬-------□
188187
│ | |
189188
│ | ─ x ─ |

0 commit comments

Comments
 (0)