Fix internal error when hoverin over shape

This commit is contained in:
Alejandro Alonso 2022-04-21 13:12:39 +02:00 committed by Eva
parent 08c6e9b702
commit 224d466122
2 changed files with 2 additions and 1 deletions

View file

@ -50,7 +50,7 @@
id (get-in state [:workspace-local :edition])
content (st/get-path state :content)
selected-point? #(gsh/has-point-rect? selrect %)
selected-points (get-in state [:workspace-local :edit-path id :selected-points])
selected-points (or (get-in state [:workspace-local :edit-path id :selected-points]) #{})
positions (into (if shift? selected-points #{})
(comp (filter #(not (= (:command %) :close-path)))
(map (comp gpt/point :params))